Bearsampp 2026.9.23
Loading...
Searching...
No Matches
class.tpl.service.php
Go to the documentation of this file.
1<?php
2/*
3 * Copyright (c) 2021-2026 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
18{
26 public static function getActionCreate($sName)
27 {
29 }
30
38 public static function getActionStart($sName)
39 {
41 }
42
50 public static function getActionStop($sName)
51 {
53 }
54
62 public static function getActionRestart($sName)
63 {
65 }
66
74 public static function getActionInstall($sName)
75 {
77 }
78
86 public static function getActionRemove($sName)
87 {
89 }
90
98 public static function getItemStart($sName)
99 {
100 global $bearsamppLang;
101
104 array($sName, ActionService::START),
106 );
107 }
108
116 public static function getItemStop($sName)
117 {
118 global $bearsamppLang;
119
122 array($sName, ActionService::STOP),
124 );
125 }
126
134 public static function getItemRestart($sName)
135 {
136 global $bearsamppLang;
137
140 array($sName, ActionService::RESTART),
142 );
143 }
144
152 public static function getItemInstall($sName)
153 {
154 global $bearsamppLang;
155
158 array($sName, ActionService::INSTALL),
160 );
161 }
162
170 public static function getItemRemove($sName)
171 {
172 global $bearsamppLang;
173
176 array($sName, ActionService::REMOVE),
178 );
179 }
180}
181
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)