![]() |
Bearsampp 2025.8.29
|
Static Public Member Functions | |
static | getMenuLogs () |
static | process () |
Data Fields | |
const | MENU = 'logs' |
Class TplAppLogs
This class provides methods to generate and manage the logs menu within the Bearsampp application. It includes functionalities for creating the logs menu and listing log files.
Definition at line 16 of file class.tpl.app.logs.php.
|
static |
Generates the logs menu content.
This method retrieves the list of log files from the logs directory, sorts them, and generates menu items for each log file using the getItemNotepad method from the TplAestan class.
@global object $bearsamppRoot Provides access to the root directory of the application.
Definition at line 48 of file class.tpl.app.logs.php.
References $bearsamppRoot, $result, Util\endWith(), and TplAestan\getItemNotepad().
|
static |
Processes and generates the logs menu.
This method generates the logs menu by retrieving the localized string for logs and calling the getMenu method from the TplApp class.
@global object $bearsamppLang Provides language support for retrieving language-specific values.
Definition at line 31 of file class.tpl.app.logs.php.
References $bearsamppLang, TplApp\getMenu(), and Lang\LOGS.
Referenced by TplApp\getSectionMenuLeft().
const MENU = 'logs' |
Definition at line 19 of file class.tpl.app.logs.php.