2024.8.23
|
Public Member Functions | |
__construct ($args) | |
processWindow ($window, $id, $ctrl, $param1, $param2) | |
Data Fields | |
const | GAUGE_SAVE = 2 |
Private Attributes | |
$wbBtnCancel | |
$wbBtnDest | |
$wbBtnSave | |
$wbInputDest | |
$wbInputName | |
$wbLabelDest | |
$wbLabelName | |
$wbProgressBar | |
$wbWindow | |
Class ActionGenSslCertificate
This class handles the generation of SSL certificates through a WinBinder GUI. It provides a user interface for inputting the server name and target directory, and includes functionality for browsing directories, saving the certificate, and displaying progress.
Definition at line 17 of file class.action.genSslCertificate.php.
ActionGenSslCertificate::__construct | ( | $args | ) |
Constructor for ActionGenSslCertificate.
Initializes the WinBinder window and its controls, sets up event handlers, and starts the main loop.
array | $args | Command line arguments passed to the script. |
Definition at line 38 of file class.action.genSslCertificate.php.
References $bearsamppLang, $bearsamppRoot, Lang\BUTTON_BROWSE, Lang\BUTTON_CANCEL, Lang\BUTTON_SAVE, Util\formatWindowsPath(), Lang\GENSSL_TITLE, Lang\NAME, and Lang\TARGET.
ActionGenSslCertificate::processWindow | ( | $window, | |
$id, | |||
$ctrl, | |||
$param1, | |||
$param2 ) |
Processes window events.
Handles button clicks and other window events, such as browsing for a directory, saving the SSL certificate, and closing the window.
resource | $window | The window resource. |
int | $id | The control ID that triggered the event. |
resource | $ctrl | The control resource that triggered the event. |
mixed | $param1 | Additional parameter 1. |
mixed | $param2 | Additional parameter 2. |
Definition at line 76 of file class.action.genSslCertificate.php.
References $bearsamppLang, WinBinder\CTRL_ID, WinBinder\CTRL_OBJ, Util\formatUnixPath(), Lang\GENSSL_CREATED, Lang\GENSSL_CREATED_ERROR, Lang\GENSSL_PATH, and Lang\GENSSL_TITLE.
|
private |
Definition at line 27 of file class.action.genSslCertificate.php.
|
private |
Definition at line 24 of file class.action.genSslCertificate.php.
|
private |
Definition at line 26 of file class.action.genSslCertificate.php.
|
private |
Definition at line 23 of file class.action.genSslCertificate.php.
|
private |
Definition at line 21 of file class.action.genSslCertificate.php.
|
private |
Definition at line 22 of file class.action.genSslCertificate.php.
|
private |
Definition at line 20 of file class.action.genSslCertificate.php.
|
private |
Definition at line 25 of file class.action.genSslCertificate.php.
|
private |
Definition at line 19 of file class.action.genSslCertificate.php.
const ActionGenSslCertificate::GAUGE_SAVE = 2 |
Definition at line 29 of file class.action.genSslCertificate.php.