2024.8.23
|
Static Public Member Functions | |
static | getActionSwitchLogsVerbose ($verbose) |
static | getMenuLogsVerbose () |
static | process () |
Data Fields | |
const | MENU = 'logsVerbose' |
Class TplAppLogsVerbose
This class provides methods to generate and manage the logs verbosity menu and actions within the Bearsampp application. It includes functionalities for creating the logs verbosity menu and processing actions to switch the logs verbosity level.
Definition at line 17 of file class.tpl.app.logsVerbose.php.
|
static |
Generates the action to switch the logs verbosity level.
This method creates the action string for switching the logs verbosity level. It includes commands to reload the application after changing the verbosity level.
int | $verbose | The verbosity level to switch to. |
Definition at line 92 of file class.tpl.app.logsVerbose.php.
References TplAppReload\getActionReload(), TplApp\getActionRun(), and Action\SWITCH_LOGS_VERBOSE.
|
static |
Generates the menu items and actions for switching logs verbosity levels.
This method creates menu items for each verbosity level and defines the actions to be taken when a verbosity level is selected. It uses the global language object to retrieve the localized strings for each verbosity level and the global configuration object to get the current verbosity level.
@global object $bearsamppLang Provides language support for retrieving language-specific values. @global object $bearsamppConfig Provides access to the application's configuration settings.
Definition at line 51 of file class.tpl.app.logsVerbose.php.
References $bearsamppConfig, $bearsamppLang, TplApp\getActionMulti(), TplAestan\GLYPH_CHECK, TplApp\SECTION_CALL, TplApp\SECTION_CONTENT, Action\SWITCH_LOGS_VERBOSE, Config\VERBOSE_DEBUG, Lang\VERBOSE_DEBUG, Config\VERBOSE_REPORT, Lang\VERBOSE_REPORT, Config\VERBOSE_SIMPLE, Lang\VERBOSE_SIMPLE, Config\VERBOSE_TRACE, and Lang\VERBOSE_TRACE.
|
static |
Generates the logs verbosity menu.
This method creates a menu for selecting the logs verbosity level. It uses the global language object to retrieve the localized string for the logs verbosity menu.
@global object $bearsamppLang Provides language support for retrieving language-specific values.
Definition at line 32 of file class.tpl.app.logsVerbose.php.
References $bearsamppLang, TplApp\getMenu(), and Lang\LOGS_VERBOSE.
Referenced by TplApp\getSectionMenuRight().
const TplAppLogsVerbose::MENU = 'logsVerbose' |
Definition at line 20 of file class.tpl.app.logsVerbose.php.