2024.8.23
|
Public Member Functions | |
__construct ($args) | |
Class ActionLaunchStartup
This class manages the application's launch startup settings. It initializes the settings based on the provided arguments and updates the configuration accordingly.
Definition at line 16 of file class.action.launchStartup.php.
ActionLaunchStartup::__construct | ( | $args | ) |
ActionLaunchStartup constructor.
This constructor uses the provided arguments to determine whether to enable or disable the application's launch at startup feature. It starts the loading process, updates the launch startup configuration based on the provided argument, and modifies the system's startup settings accordingly.
array | $args | An array of arguments where the first element should be either Config\ENABLED or Config\DISABLED to indicate the desired launch startup setting. |
Definition at line 28 of file class.action.launchStartup.php.
References $bearsamppConfig, Config\CFG_LAUNCH_STARTUP, Util\disableLaunchStartup(), Config\ENABLED, Util\enableLaunchStartup(), and Util\startLoading().