![]() |
Bearsampp 2026.9.23
|
Static Public Member Functions | |
| static | getActionCreate ($sName) |
| static | getActionInstall ($sName) |
| static | getActionRemove ($sName) |
| static | getActionRestart ($sName) |
| static | getActionStart ($sName) |
| static | getActionStop ($sName) |
| static | getItemInstall ($sName) |
| static | getItemRemove ($sName) |
| static | getItemRestart ($sName) |
| static | getItemStart ($sName) |
| static | getItemStop ($sName) |
Class TplService
This class provides methods to generate action strings and menu items for managing Windows services within the Bearsampp application. It includes functionalities for creating, starting, stopping, restarting, installing, and removing services.
Definition at line 17 of file class.tpl.service.php.
|
static |
Generates an action string to create a service.
| string | $sName | The name of the service to create. |
Definition at line 26 of file class.tpl.service.php.
References ActionService\CREATE, TplApp\getActionRun(), and Action\SERVICE.
|
static |
Generates an action string to install a service.
| string | $sName | The name of the service to install. |
Definition at line 74 of file class.tpl.service.php.
References TplApp\getActionRun(), ActionService\INSTALL, and Action\SERVICE.
|
static |
Generates an action string to remove a service.
| string | $sName | The name of the service to remove. |
Definition at line 86 of file class.tpl.service.php.
References TplApp\getActionRun(), ActionService\REMOVE, and Action\SERVICE.
|
static |
Generates an action string to restart a service.
| string | $sName | The name of the service to restart. |
Definition at line 62 of file class.tpl.service.php.
References TplApp\getActionRun(), ActionService\RESTART, and Action\SERVICE.
Referenced by TplAppOnline\getActionStatus(), TplAppApache\getActionSwitchApacheModule(), TplAppPhp\getActionSwitchPhpExtension(), and TplAppPhp\getActionSwitchPhpSetting().
|
static |
Generates an action string to start a service.
| string | $sName | The name of the service to start. |
Definition at line 38 of file class.tpl.service.php.
References TplApp\getActionRun(), Action\SERVICE, and ActionService\START.
|
static |
Generates an action string to stop a service.
| string | $sName | The name of the service to stop. |
Definition at line 50 of file class.tpl.service.php.
References TplApp\getActionRun(), Action\SERVICE, and ActionService\STOP.
|
static |
Generates a menu item to install a service.
| string | $sName | The name of the service to install. |
Definition at line 152 of file class.tpl.service.php.
References $bearsamppLang, TplApp\getActionRun(), TplAestan\GLYPH_SERVICE_INSTALL, ActionService\INSTALL, Lang\MENU_INSTALL_SERVICE, and Action\SERVICE.
|
static |
Generates a menu item to remove a service.
| string | $sName | The name of the service to remove. |
Definition at line 170 of file class.tpl.service.php.
References $bearsamppLang, TplApp\getActionRun(), TplAestan\GLYPH_SERVICE_REMOVE, Lang\MENU_REMOVE_SERVICE, ActionService\REMOVE, and Action\SERVICE.
|
static |
Generates a menu item to restart a service.
| string | $sName | The name of the service to restart. |
Definition at line 134 of file class.tpl.service.php.
References $bearsamppLang, TplApp\getActionRun(), TplAestan\GLYPH_RELOAD, Lang\MENU_RESTART_SERVICE, ActionService\RESTART, and Action\SERVICE.
|
static |
Generates a menu item to start a service.
| string | $sName | The name of the service to start. |
Definition at line 98 of file class.tpl.service.php.
References $bearsamppLang, TplApp\getActionRun(), TplAestan\GLYPH_START, Lang\MENU_START_SERVICE, Action\SERVICE, and ActionService\START.
|
static |
Generates a menu item to stop a service.
| string | $sName | The name of the service to stop. |
Definition at line 116 of file class.tpl.service.php.
References $bearsamppLang, TplApp\getActionRun(), TplAestan\GLYPH_STOP, Lang\MENU_STOP_SERVICE, Action\SERVICE, and ActionService\STOP.