2024.8.23
|
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 by stopping and then starting them.
Definition at line 109 of file class.tpl.app.services.php.
References getActionStartServices(), and getActionStopServices().
|
static |
Generates the actions to start all services.
@global object $bearsamppBins Provides access to system binaries and their configurations.
Definition at line 73 of file class.tpl.app.services.php.
References $bearsamppBins, and TplService\getActionStart().
Referenced by getActionRestartServices().
|
static |
Generates the actions to stop all services.
@global object $bearsamppBins Provides access to system binaries and their configurations.
Definition at line 92 of file class.tpl.app.services.php.
References $bearsamppBins, and TplService\getActionStop().
Referenced by getActionRestartServices().
|
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 TplAppServices::ACTION_RESTART = 'restartServices' |
Definition at line 22 of file class.tpl.app.services.php.
const TplAppServices::ACTION_START = 'startServices' |
Definition at line 20 of file class.tpl.app.services.php.
const TplAppServices::ACTION_STOP = 'stopServices' |
Definition at line 21 of file class.tpl.app.services.php.