Bearsampp 2026.9.23
Loading...
Searching...
No Matches
TplAppEditConf Class Reference

Static Public Member Functions

static process ()

Detailed Description

Class TplAppEditConf

This class provides a method to generate a menu item for editing the Bearsampp configuration file within the Bearsampp application.

Definition at line 16 of file class.tpl.app.EditConf.php.

Member Function Documentation

◆ process()

process ( )
static

Processes the request to edit the configuration file.

This method generates a Notepad item string that allows the user to edit the bearsampp.conf file. It utilizes global variables to access language settings and the root path of the application.

Returns
string The Notepad item string for editing the configuration file. @global Root $bearsamppRoot The root object for accessing application paths. @global LangProc $bearsamppLang The language processor for retrieving localized strings.

Definition at line 28 of file class.tpl.app.EditConf.php.

29 {
31
33 sprintf($bearsamppLang->getValue(Lang::MENU_EDIT_CONF), "bearsampp.conf"),
35 ) . PHP_EOL;
36 }
global $bearsamppLang
global $bearsamppRoot
const MENU_EDIT_CONF
static getConfigFilePath($aetrayPath=false)
static getItemNotepad($caption, $path)

References $bearsamppLang, $bearsamppRoot, Path\getConfigFilePath(), TplAestan\getItemNotepad(), and Lang\MENU_EDIT_CONF.

Referenced by TplApp\getSectionMenuRight().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: