|
Bearsampp 2026.3.26
API documentation
|
Public Member Functions | |
| __construct ($args) | |
| processWindow ($window, $id, $ctrl, $param1, $param2) | |
Data Fields | |
| const | GAUGE_PER_SERVICE = 1 |
Private Attributes | |
| $processed = false | |
| $splash | |
Class ActionStopAllServices Handles stopping all services with a single splash screen showing progress.
Definition at line 14 of file class.action.stopAllServices.php.
| __construct | ( | $args | ) |
ActionStopAllServices constructor. Initializes the stopping process, displays the splash screen, and sets up the main loop.
| array | $args | Command line arguments. |
Definition at line 37 of file class.action.stopAllServices.php.
References $bearsamppBins, $bearsamppCore, $bearsamppLang, Lang\LOADING_STOP_SERVICES, and Lang\MENU_STOP_SERVICES.
| processWindow | ( | $window, | |
| $id, | |||
| $ctrl, | |||
| $param1, | |||
| $param2 ) |
Processes the splash screen window events. Stops all services sequentially with progress updates.
| 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 68 of file class.action.stopAllServices.php.
References $bearsamppBins, $bearsamppLang, exit, ServiceHelper\getServiceDisplayName(), Lang\LOADING_COMPLETE, Lang\LOADING_STOP_SERVICE, ServiceHelper\processServices(), and ServiceHelper\stopService().
|
private |
Definition at line 24 of file class.action.stopAllServices.php.
|
private |
Definition at line 19 of file class.action.stopAllServices.php.
| const GAUGE_PER_SERVICE = 1 |
Gauge value for progress bar increments.
Definition at line 29 of file class.action.stopAllServices.php.