|
Bearsampp 2026.3.26
API documentation
|
Static Public Member Functions | |
| static | getActionRestartServices () |
| static | getActionStartServices () |
| static | getActionStopServices () |
| static | process () |
Data Fields | |
| const | ACTION_RESTART = 'restartServices' |
| const | ACTION_START = 'startServices' |
| const | ACTION_STOP = 'stopServices' |
Class TplAppServices
This class provides methods to generate menu items and actions for managing multiple services within the Bearsampp application. It includes functionalities for starting, stopping, and restarting all services at once.
Definition at line 17 of file class.tpl.app.services.php.
|
static |
Generates the actions to restart all services using a single splash screen.
Definition at line 91 of file class.tpl.app.services.php.
References TplApp\getActionRun(), and Action\RESTART_ALL_SERVICES.
|
static |
Generates the actions to start all services using a single splash screen.
Definition at line 71 of file class.tpl.app.services.php.
References TplApp\getActionRun(), and Action\START_ALL_SERVICES.
|
static |
Generates the actions to stop all services using a single splash screen.
Definition at line 81 of file class.tpl.app.services.php.
References TplApp\getActionRun(), and Action\STOP_ALL_SERVICES.
|
static |
Generates the main services menu with options to start, stop, and restart all services.
@global object $bearsamppLang Provides language support for retrieving language-specific values.
Definition at line 31 of file class.tpl.app.services.php.
References $bearsamppLang, TplApp\getActionMulti(), TplAestan\GLYPH_SERVICES_RESTART, TplAestan\GLYPH_SERVICES_START, TplAestan\GLYPH_SERVICES_STOP, Lang\MENU_RESTART_SERVICES, Lang\MENU_START_SERVICES, Lang\MENU_STOP_SERVICES, TplApp\SECTION_CALL, and TplApp\SECTION_CONTENT.
Referenced by TplApp\getSectionMenuLeft().
| const ACTION_RESTART = 'restartServices' |
Definition at line 22 of file class.tpl.app.services.php.
| const ACTION_START = 'startServices' |
Definition at line 20 of file class.tpl.app.services.php.
| const ACTION_STOP = 'stopServices' |
Definition at line 21 of file class.tpl.app.services.php.