2024.8.23
|
Static Public Member Functions | |
static | getActionLaunchStartup ($launchStartup) |
static | process () |
Data Fields | |
const | ACTION = 'launchStartup' |
Class TplAppLaunchStartup
This class provides methods to generate actions and menu items for launching the Bearsampp application at startup. It includes functionalities for creating launch startup actions and processing launch startup commands.
Definition at line 16 of file class.tpl.app.launchStartup.php.
|
static |
Generates the action to launch the application at startup.
This method creates the action string for launching the application at startup. It includes commands to reload the application configuration. The action string is used to define what happens when the launch startup action is triggered.
int | $launchStartup | The status to set for launch startup (enabled or disabled). |
Definition at line 55 of file class.tpl.app.launchStartup.php.
References TplAppReload\getActionReload(), TplApp\getActionRun(), and Action\LAUNCH_STARTUP.
|
static |
Generates the launch startup menu item and associated actions.
This method creates a menu item for launching the application at startup and defines the actions to be taken when the launch startup menu item is selected. It checks the current launch startup status and toggles it. It uses the global language object to retrieve the localized string for the launch startup action.
@global object $bearsamppLang Provides language support for retrieving language-specific values.
Definition at line 32 of file class.tpl.app.launchStartup.php.
References $bearsamppLang, Config\DISABLED, Config\ENABLED, TplApp\getActionMulti(), TplAestan\GLYPH_CHECK, Util\isLaunchStartup(), and Lang\MENU_LAUNCH_STARTUP.
Referenced by TplApp\getSectionMenuRight().
const TplAppLaunchStartup::ACTION = 'launchStartup' |
Definition at line 19 of file class.tpl.app.launchStartup.php.