Bearsampp 2025.8.29
Loading...
Searching...
No Matches
class.tpl.service.php
Go to the documentation of this file.
1<?php
2/*
3 * Copyright (c) 2021-2024 Bearsampp
4 * License: GNU General Public License version 3 or later; see LICENSE.txt
5 * Author: bear
6 * Website: https://bearsampp.com
7 * Github: https://github.com/Bearsampp
8 */
9
11{
18 public static function getActionCreate($sName)
19 {
21 }
22
29 public static function getActionStart($sName)
30 {
32 }
33
40 public static function getActionStop($sName)
41 {
43 }
44
51 public static function getActionRestart($sName)
52 {
54 }
55
62 public static function getActionInstall($sName)
63 {
65 }
66
73 public static function getActionRemove($sName)
74 {
76 }
77
84 public static function getItemStart($sName)
85 {
86 global $bearsamppLang;
87
91 );
92 }
93
100 public static function getItemStop($sName)
101 {
102 global $bearsamppLang;
103
105 Action::SERVICE, array($sName, ActionService::STOP),
107 );
108 }
109
116 public static function getItemRestart($sName)
117 {
118 global $bearsamppLang;
119
123 );
124 }
125
132 public static function getItemInstall($sName)
133 {
134 global $bearsamppLang;
135
139 );
140 }
141
148 public static function getItemRemove($sName)
149 {
150 global $bearsamppLang;
151
155 );
156 }
157}
global $bearsamppLang
const SERVICE
const MENU_STOP_SERVICE
const MENU_INSTALL_SERVICE
const MENU_RESTART_SERVICE
const MENU_START_SERVICE
const MENU_REMOVE_SERVICE
const GLYPH_SERVICE_REMOVE
const GLYPH_SERVICE_INSTALL
static getActionRun($action, $args=array(), $item=array(), $waitUntilTerminated=true)
static getItemRestart($sName)
static getActionRestart($sName)
static getItemRemove($sName)
static getActionRemove($sName)
static getActionStop($sName)
static getItemInstall($sName)
static getActionCreate($sName)
static getItemStop($sName)
static getActionStart($sName)
static getItemStart($sName)
static getActionInstall($sName)