Bearsampp 2025.8.29
API Documentation for Bearsampp
Loading...
Searching...
No Matches
TplAppEditConf Class Reference

Static Public Member Functions

static process ()

Detailed Description

Definition at line 10 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.

@global LangProc $bearsamppLang The language processor for retrieving localized strings. @global Root $bearsamppRoot The root object for accessing application paths.

Returns
string The Notepad item string for editing the configuration file.

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

23 {
25
27 sprintf($bearsamppLang->getValue(Lang::MENU_EDIT_CONF), "bearsampp.conf"),
28 $bearsamppRoot->getConfigFilePath()
29 ) . PHP_EOL;
30 }
global $bearsamppLang
global $bearsamppRoot
const MENU_EDIT_CONF
static getItemNotepad($caption, $path)

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

Referenced by TplApp\getSectionMenuRight().


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