![]() |
Bearsampp 2026.9.23
|
Protected Member Functions | |
| createFormFields ($bearsamppWinbinder) | |
| deleteItem () | |
| getDeleteConfirmMessage () | |
| getDeleteDialogTitle () | |
| getDeleteErrorMessage () | |
| getDeleteSuccessMessage () | |
| getDialogTitle () | |
| getFormValues ($bearsamppWinbinder) | |
| getSaveErrorMessage () | |
| getSaveSuccessMessage ($values) | |
| getWindowTitle () | |
| handleCustomEvent ($window, $id, $ctrl, $param1, $param2) | |
| itemExists ($values) | |
| restartService () | |
| saveItem ($values) | |
| validateInput ($values) | |
| Protected Member Functions inherited from ActionDialogBase | |
| createButtons ($bearsamppWinbinder) | |
| getGaugeDelete () | |
| getGaugeSave () | |
| handleDelete ($window) | |
| handleSave ($window) | |
| initializeDialog ($args) | |
| isEditMode () | |
Private Attributes | |
| $wbBtnDest | |
| $wbInputDest | |
| $wbInputName | |
| $wbLabelDest | |
| $wbLabelExp | |
| $wbLabelName | |
Additional Inherited Members | |
| Public Member Functions inherited from ActionDialogBase | |
| __construct ($args) | |
| processWindow ($window, $id, $ctrl, $param1, $param2) | |
| Data Fields inherited from ActionDialogBase | |
| const | GAUGE_DELETE = 2 |
| const | GAUGE_SAVE = 2 |
| Protected Attributes inherited from ActionDialogBase | |
| $initValue | |
| $wbBtnCancel | |
| $wbBtnDelete | |
| $wbBtnSave | |
| $wbProgressBar | |
| $wbWindow | |
Class ActionAddAlias Handles the creation of a new alias in the Bearsampp application.
Definition at line 14 of file class.action.addAlias.php.
|
protected |
Create the form fields for the add alias dialog.
| object | $bearsamppWinbinder | The WinBinder instance. |
Reimplemented from ActionDialogBase.
Definition at line 71 of file class.action.addAlias.php.
References $bearsamppBins, $bearsamppLang, Lang\ALIAS_DEST_LABEL, Lang\ALIAS_EXP_LABEL, Lang\ALIAS_NAME_LABEL, and Lang\BUTTON_BROWSE.
|
protected |
Delete the alias. Not used in add mode.
Reimplemented from ActionDialogBase.
Definition at line 215 of file class.action.addAlias.php.
|
protected |
Get the delete confirmation message. Not used in add mode.
Reimplemented from ActionDialogBase.
Definition at line 260 of file class.action.addAlias.php.
|
protected |
Get the delete dialog title.
Reimplemented from ActionDialogBase.
Definition at line 58 of file class.action.addAlias.php.
|
protected |
Get the error message after delete failure. Not used in add mode.
Reimplemented from ActionDialogBase.
Definition at line 282 of file class.action.addAlias.php.
|
protected |
Get the success message after delete. Not used in add mode.
Reimplemented from ActionDialogBase.
Definition at line 271 of file class.action.addAlias.php.
|
protected |
Get the dialog title for message boxes.
Reimplemented from ActionDialogBase.
Definition at line 46 of file class.action.addAlias.php.
References $bearsamppLang, and Lang\ADD_ALIAS_TITLE.
|
protected |
Get the current form values from the input controls.
| object | $bearsamppWinbinder | The WinBinder instance. |
Reimplemented from ActionDialogBase.
Definition at line 141 of file class.action.addAlias.php.
References WinBinder\CTRL_OBJ.
|
protected |
Get the error message after save failure.
Reimplemented from ActionDialogBase.
Definition at line 248 of file class.action.addAlias.php.
References $bearsamppLang, and Lang\ALIAS_CREATED_ERROR.
|
protected |
Get the success message after saving.
| array | $values | The form values. |
Reimplemented from ActionDialogBase.
Definition at line 228 of file class.action.addAlias.php.
References $bearsamppBins, $bearsamppLang, and Lang\ALIAS_CREATED.
|
protected |
Get the dialog window title.
Reimplemented from ActionDialogBase.
Definition at line 34 of file class.action.addAlias.php.
References $bearsamppLang, and Lang\ADD_ALIAS_TITLE.
|
protected |
Handle custom window events (name input change and browse button).
| resource | $window | The window resource. |
| int | $id | The control ID. |
| resource | $ctrl | The control resource. |
| mixed | $param1 | Additional parameter 1. |
| mixed | $param2 | Additional parameter 2. |
Reimplemented from ActionDialogBase.
Definition at line 310 of file class.action.addAlias.php.
References $bearsamppBins, $bearsamppLang, Lang\ALIAS_DEST_PATH, Lang\ALIAS_EXP_LABEL, WinBinder\CTRL_ID, and WinBinder\CTRL_OBJ.
|
protected |
Check if an alias configuration file already exists.
| array | $values | The form values. |
Reimplemented from ActionDialogBase.
Definition at line 177 of file class.action.addAlias.php.
References $bearsamppLang, $bearsamppRoot, Lang\ALIAS_ALREADY_EXISTS, and Path\getAliasPath().
|
protected |
Restart the Apache service after saving.
Reimplemented from ActionDialogBase.
Definition at line 293 of file class.action.addAlias.php.
References $bearsamppBins.
|
protected |
Save the alias configuration file.
| array | $values | The form values. |
Reimplemented from ActionDialogBase.
Definition at line 200 of file class.action.addAlias.php.
References $bearsamppBins, $bearsamppRoot, and Path\getAliasPath().
|
protected |
Validate the form input.
| array | $values | The form values. |
Reimplemented from ActionDialogBase.
Definition at line 156 of file class.action.addAlias.php.
References $bearsamppLang, and Lang\ALIAS_NOT_VALID_ALPHA.
|
private |
Definition at line 25 of file class.action.addAlias.php.
|
private |
Definition at line 23 of file class.action.addAlias.php.
|
private |
Definition at line 19 of file class.action.addAlias.php.
|
private |
Definition at line 21 of file class.action.addAlias.php.
|
private |
Definition at line 27 of file class.action.addAlias.php.
|
private |
Definition at line 17 of file class.action.addAlias.php.