Bearsampp 2025.8.29
Loading...
Searching...
No Matches
class.tpl.app.exit.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
17{
21 const ACTION = 'exit';
22
32 public static function process()
33 {
34 global $bearsamppLang;
35
37 self::ACTION,
38 null,
40 false,
41 get_called_class()
42 );
43 }
44
52 public static function getActionExit()
53 {
54 return TplApp::getActionRun(Action::QUIT) . PHP_EOL . 'Action: exit';
55 }
56}
global $bearsamppLang
const QUIT
const QUIT
static getActionExit()
static getActionMulti($action, $args=array(), $item=array(), $disabled=false, $class=false)
static getActionRun($action, $args=array(), $item=array(), $waitUntilTerminated=true)