|
Bearsampp 2026.3.26
API documentation
|
Protected Member Functions | |
| createFormFields ($bearsamppWinbinder) | |
| deleteItem () | |
| getDeleteConfirmMessage () | |
| getDeleteDialogTitle () | |
| getDeleteErrorMessage () | |
| getDeleteSuccessMessage () | |
| getDialogTitle () | |
| getFormValues ($bearsamppWinbinder) | |
| getSaveErrorMessage () | |
| getSaveSuccessMessage ($values) | |
| getWindowTitle () | |
| handleCustomEvent ($window, $id, $ctrl, $param1, $param2) | |
| initializeDialog ($args) | |
| itemExists ($values) | |
| restartService () | |
| saveItem ($values) | |
| validateInput ($values) | |
| Protected Member Functions inherited from ActionDialogBase | |
| createButtons ($bearsamppWinbinder) | |
| getGaugeDelete () | |
| getGaugeSave () | |
| handleDelete ($window) | |
| handleSave ($window) | |
| 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 ActionEditAlias Handles the editing of Apache aliases within the Bearsampp application.
Definition at line 14 of file class.action.editAlias.php.
|
protected |
Create form fields specific to the dialog This method should create all input fields, labels, and buttons
| object | $bearsamppWinbinder | The WinBinder instance |
Reimplemented from ActionDialogBase.
Definition at line 63 of file class.action.editAlias.php.
References $bearsamppBins, $bearsamppLang, $bearsamppRoot, Lang\ALIAS_DEST_LABEL, Lang\ALIAS_EXP_LABEL, Lang\ALIAS_NAME_LABEL, Lang\BUTTON_BROWSE, and Util\formatWindowsPath().
|
protected |
Delete the item
Reimplemented from ActionDialogBase.
Definition at line 156 of file class.action.editAlias.php.
References $bearsamppRoot.
|
protected |
Get delete confirmation message
Reimplemented from ActionDialogBase.
Definition at line 183 of file class.action.editAlias.php.
References $bearsamppLang, and Lang\DELETE_ALIAS.
|
protected |
Get the delete dialog title
Reimplemented from ActionDialogBase.
Definition at line 35 of file class.action.editAlias.php.
References $bearsamppLang, and Lang\DELETE_ALIAS_TITLE.
|
protected |
Get error message after delete failure
Reimplemented from ActionDialogBase.
Definition at line 195 of file class.action.editAlias.php.
References $bearsamppLang, $bearsamppRoot, and Lang\ALIAS_REMOVE_ERROR.
|
protected |
Get success message after delete
Reimplemented from ActionDialogBase.
Definition at line 189 of file class.action.editAlias.php.
References $bearsamppLang, and Lang\ALIAS_REMOVED.
|
protected |
Get the dialog title for messages
Reimplemented from ActionDialogBase.
Definition at line 29 of file class.action.editAlias.php.
References $bearsamppLang, and Lang\ADD_ALIAS_TITLE.
|
protected |
Get the current form values
| object | $bearsamppWinbinder | The WinBinder instance |
Reimplemented from ActionDialogBase.
Definition at line 108 of file class.action.editAlias.php.
References WinBinder\CTRL_OBJ.
|
protected |
Get error message after save failure
Reimplemented from ActionDialogBase.
Definition at line 177 of file class.action.editAlias.php.
References $bearsamppLang, and Lang\ALIAS_CREATED_ERROR.
|
protected |
Get success message after save
| array | $values | The form values |
Reimplemented from ActionDialogBase.
Definition at line 163 of file class.action.editAlias.php.
References $bearsamppBins, $bearsamppLang, and Lang\ALIAS_CREATED.
|
protected |
Get the dialog window title
Reimplemented from ActionDialogBase.
Definition at line 23 of file class.action.editAlias.php.
References $bearsamppLang, and Lang\EDIT_ALIAS_TITLE.
|
protected |
Handle custom events (can be overridden by child classes)
| 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 210 of file class.action.editAlias.php.
References $bearsamppBins, $bearsamppLang, Lang\ALIAS_DEST_PATH, Lang\ALIAS_EXP_LABEL, WinBinder\CTRL_ID, and WinBinder\CTRL_OBJ.
|
protected |
Initialize the dialog window
| array | $args | Command line arguments |
Reimplemented from ActionDialogBase.
Definition at line 41 of file class.action.editAlias.php.
References $bearsamppRoot.
|
protected |
Check if the item already exists (for add/edit operations)
| array | $values | The form values |
Reimplemented from ActionDialogBase.
Definition at line 130 of file class.action.editAlias.php.
References $bearsamppLang, $bearsamppRoot, and Lang\ALIAS_ALREADY_EXISTS.
|
protected |
Restart the service after save/delete
Reimplemented from ActionDialogBase.
Definition at line 204 of file class.action.editAlias.php.
References $bearsamppBins.
|
protected |
Save the item (create or update)
| array | $values | The form values |
Reimplemented from ActionDialogBase.
Definition at line 146 of file class.action.editAlias.php.
References $bearsamppBins, and $bearsamppRoot.
|
protected |
Validate the form input
| array | $values | The form values |
Reimplemented from ActionDialogBase.
Definition at line 116 of file class.action.editAlias.php.
References $bearsamppLang, and Lang\ALIAS_NOT_VALID_ALPHA.
|
private |
Definition at line 20 of file class.action.editAlias.php.
|
private |
Definition at line 19 of file class.action.editAlias.php.
|
private |
Definition at line 17 of file class.action.editAlias.php.
|
private |
Definition at line 18 of file class.action.editAlias.php.
|
private |
Definition at line 21 of file class.action.editAlias.php.
|
private |
Definition at line 16 of file class.action.editAlias.php.