2024.8.23
Loading...
Searching...
No Matches
TplService Class Reference

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)
 

Detailed Description

Definition at line 10 of file class.tpl.service.php.

Member Function Documentation

◆ getActionCreate()

static TplService::getActionCreate ( $sName)
static

Generates an action string to create a service.

Parameters
string$sNameThe name of the service to create.
Returns
string The generated action string for creating the service.

Definition at line 18 of file class.tpl.service.php.

19 {
21 }
const SERVICE
static getActionRun($action, $args=array(), $item=array(), $waitUntilTerminated=true)

References ActionService\CREATE, TplApp\getActionRun(), and Action\SERVICE.

◆ getActionInstall()

static TplService::getActionInstall ( $sName)
static

Generates an action string to install a service.

Parameters
string$sNameThe name of the service to install.
Returns
string The generated action string for installing the service.

Definition at line 62 of file class.tpl.service.php.

References TplApp\getActionRun(), ActionService\INSTALL, and Action\SERVICE.

◆ getActionRemove()

static TplService::getActionRemove ( $sName)
static

Generates an action string to remove a service.

Parameters
string$sNameThe name of the service to remove.
Returns
string The generated action string for removing the service.

Definition at line 73 of file class.tpl.service.php.

References TplApp\getActionRun(), ActionService\REMOVE, and Action\SERVICE.

◆ getActionRestart()

static TplService::getActionRestart ( $sName)
static

Generates an action string to restart a service.

Parameters
string$sNameThe name of the service to restart.
Returns
string The generated action string for restarting the service.

Definition at line 51 of file class.tpl.service.php.

References TplApp\getActionRun(), ActionService\RESTART, and Action\SERVICE.

Referenced by TplAppOnline\getActionStatus(), TplAppApache\getActionSwitchApacheModule(), TplAppPhp\getActionSwitchPhpExtension(), TplAppPhp\getActionSwitchPhpSetting(), and ActionEditVhost\processWindow().

+ Here is the caller graph for this function:

◆ getActionStart()

static TplService::getActionStart ( $sName)
static

Generates an action string to start a service.

Parameters
string$sNameThe name of the service to start.
Returns
string The generated action string for starting the service.

Definition at line 29 of file class.tpl.service.php.

References TplApp\getActionRun(), Action\SERVICE, and ActionService\START.

Referenced by TplAppServices\getActionStartServices().

+ Here is the caller graph for this function:

◆ getActionStop()

static TplService::getActionStop ( $sName)
static

Generates an action string to stop a service.

Parameters
string$sNameThe name of the service to stop.
Returns
string The generated action string for stopping the service.

Definition at line 40 of file class.tpl.service.php.

References TplApp\getActionRun(), Action\SERVICE, and ActionService\STOP.

Referenced by TplAppServices\getActionStopServices().

+ Here is the caller graph for this function:

◆ getItemInstall()

static TplService::getItemInstall ( $sName)
static

Generates a menu item to install a service.

Parameters
string$sNameThe name of the service to install.
Returns
string The generated menu item string for installing the service.

Definition at line 132 of file class.tpl.service.php.

133 {
134 global $bearsamppLang;
135
139 );
140 }
global $bearsamppLang
const MENU_INSTALL_SERVICE
const GLYPH_SERVICE_INSTALL

References $bearsamppLang, TplApp\getActionRun(), TplAestan\GLYPH_SERVICE_INSTALL, ActionService\INSTALL, Lang\MENU_INSTALL_SERVICE, and Action\SERVICE.

◆ getItemRemove()

static TplService::getItemRemove ( $sName)
static

Generates a menu item to remove a service.

Parameters
string$sNameThe name of the service to remove.
Returns
string The generated menu item string for removing the service.

Definition at line 148 of file class.tpl.service.php.

149 {
150 global $bearsamppLang;
151
155 );
156 }
const MENU_REMOVE_SERVICE
const GLYPH_SERVICE_REMOVE

References $bearsamppLang, TplApp\getActionRun(), TplAestan\GLYPH_SERVICE_REMOVE, Lang\MENU_REMOVE_SERVICE, ActionService\REMOVE, and Action\SERVICE.

◆ getItemRestart()

static TplService::getItemRestart ( $sName)
static

Generates a menu item to restart a service.

Parameters
string$sNameThe name of the service to restart.
Returns
string The generated menu item string for restarting the service.

Definition at line 116 of file class.tpl.service.php.

117 {
118 global $bearsamppLang;
119
123 );
124 }
const MENU_RESTART_SERVICE

References $bearsamppLang, TplApp\getActionRun(), TplAestan\GLYPH_RELOAD, Lang\MENU_RESTART_SERVICE, ActionService\RESTART, and Action\SERVICE.

◆ getItemStart()

static TplService::getItemStart ( $sName)
static

Generates a menu item to start a service.

Parameters
string$sNameThe name of the service to start.
Returns
string The generated menu item string for starting the service.

Definition at line 84 of file class.tpl.service.php.

85 {
86 global $bearsamppLang;
87
91 );
92 }
const MENU_START_SERVICE

References $bearsamppLang, TplApp\getActionRun(), TplAestan\GLYPH_START, Lang\MENU_START_SERVICE, Action\SERVICE, and ActionService\START.

◆ getItemStop()

static TplService::getItemStop ( $sName)
static

Generates a menu item to stop a service.

Parameters
string$sNameThe name of the service to stop.
Returns
string The generated menu item string for stopping the service.

Definition at line 100 of file class.tpl.service.php.

101 {
102 global $bearsamppLang;
103
105 Action::SERVICE, array($sName, ActionService::STOP),
107 );
108 }
const MENU_STOP_SERVICE

References $bearsamppLang, TplApp\getActionRun(), TplAestan\GLYPH_STOP, Lang\MENU_STOP_SERVICE, Action\SERVICE, and ActionService\STOP.


The documentation for this class was generated from the following file: