2024.8.23
|
Public Member Functions | |
__construct ($args) | |
processWindow ($window, $id, $ctrl, $param1, $param2) | |
Data Fields | |
const | GAUGE_OTHERS = 1 |
const | GAUGE_PROCESSES = 1 |
Private Attributes | |
$splash | |
Class ActionQuit Handles the quitting process of the Bearsampp application. Displays a splash screen and stops all services and processes.
Definition at line 15 of file class.action.quit.php.
ActionQuit::__construct | ( | $args | ) |
ActionQuit constructor. Initializes the quitting process, displays the splash screen, and sets up the main loop.
array | $args | Command line arguments. |
Definition at line 34 of file class.action.quit.php.
References $bearsamppBins, $bearsamppCore, $bearsamppLang, APP_TITLE, Lang\EXIT_LEAVING_TEXT, and Lang\QUIT.
ActionQuit::processWindow | ( | $window, | |
$id, | |||
$ctrl, | |||
$param1, | |||
$param2 ) |
Processes the splash screen window events. Stops all services, deletes symlinks, and kills remaining processes.
resource | $window | The window resource. |
int | $id | The event ID. |
int | $ctrl | The control ID. |
mixed | $param1 | Additional parameter 1. |
mixed | $param2 | Additional parameter 2. |
Definition at line 62 of file class.action.quit.php.
References $bearsamppBins, $bearsamppLang, Symlinks\deleteCurrentSymlinks(), Lang\EXIT_REMOVE_SERVICE_TEXT, Lang\EXIT_STOP_OTHER_PROCESS_TEXT, Win32Ps\killBins(), BinFilezilla\SERVICE_NAME, BinMailhog\SERVICE_NAME, BinMailpit\SERVICE_NAME, BinMariadb\SERVICE_NAME, BinMemcached\SERVICE_NAME, BinMysql\SERVICE_NAME, BinPostgresql\SERVICE_NAME, and BinXlight\SERVICE_NAME.
|
private |
Definition at line 20 of file class.action.quit.php.
const ActionQuit::GAUGE_OTHERS = 1 |
Definition at line 26 of file class.action.quit.php.
const ActionQuit::GAUGE_PROCESSES = 1 |
Gauge values for progress bar increments.
Definition at line 25 of file class.action.quit.php.