2024.8.23
Loading...
Searching...
No Matches
class.tpl.app.rebuildIni.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 TplAppRebuildIni
12
*
13
* This class provides a method to process the rebuilding of the INI configuration.
14
* It generates the necessary action to run the REBUILD_INI command.
15
*/
16
class
TplAppRebuildIni
17
{
18
/**
19
* Processes the action to rebuild the INI configuration.
20
*
21
* This method generates the action string to run the REBUILD_INI command.
22
* It uses the global `$bearsamppLang` object to retrieve the localized string
23
* for the menu item and the glyph icon for the trashcan.
24
*
25
* @global object $bearsamppLang Provides language support for retrieving language-specific values.
26
*
27
* @return string The generated action string to rebuild the INI configuration.
28
*/
29
public
static
function
process
()
30
{
31
global
$bearsamppLang
;
32
33
return
TplApp::getActionRun
(
34
Action::REBUILD_INI
,
35
null
,
36
array(
$bearsamppLang
->getValue(
Lang::MENU_REBUILD_INI
),
TplAestan::GLYPH_REBUILD_INI
)
37
);
38
}
39
}
$bearsamppLang
global $bearsamppLang
Definition
ajax.apache.php:16
Action\REBUILD_INI
const REBUILD_INI
Definition
class.action.php:38
Lang\MENU_REBUILD_INI
const MENU_REBUILD_INI
Definition
class.lang.php:108
TplAestan\GLYPH_REBUILD_INI
const GLYPH_REBUILD_INI
Definition
class.tpl.aestan.php:99
TplAppRebuildIni
Definition
class.tpl.app.rebuildIni.php:17
TplAppRebuildIni\process
static process()
Definition
class.tpl.app.rebuildIni.php:29
TplApp\getActionRun
static getActionRun($action, $args=array(), $item=array(), $waitUntilTerminated=true)
Definition
class.tpl.app.php:115
Bearsampp-development
sandbox
core
classes
tpls
app
class.tpl.app.rebuildIni.php
Generated by
1.11.0