2024.8.23
Loading...
Searching...
No Matches
class.action.restart.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
10
/**
11
* Class ActionRestart
12
* Handles the restart action for the Bearsampp application.
13
*/
14
class
ActionRestart
15
{
16
/**
17
* ActionRestart constructor.
18
* Displays a message box with restart information.
19
*
20
* @param array $args Command line arguments passed to the action.
21
*/
22
public
function
__construct
($args)
23
{
24
global
$bearsamppLang
, $bearsamppWinbinder;
25
26
$bearsamppWinbinder->messageBoxInfo(
27
sprintf(
$bearsamppLang
->getValue(
Lang::RESTART_TEXT
),
APP_TITLE
),
28
$bearsamppLang
->getValue(
Lang::RESTART_TITLE
));
29
}
30
}
$bearsamppLang
global $bearsamppLang
Definition
ajax.apache.php:16
ActionRestart
Definition
class.action.restart.php:15
ActionRestart\__construct
__construct($args)
Definition
class.action.restart.php:22
Lang\RESTART_TITLE
const RESTART_TITLE
Definition
class.lang.php:347
Lang\RESTART_TEXT
const RESTART_TEXT
Definition
class.lang.php:348
APP_TITLE
const APP_TITLE
Definition
root.php:12
Bearsampp-development
sandbox
core
classes
actions
class.action.restart.php
Generated by
1.11.0