Bootloader
class Bootloader
XELOS Bootloader
Use the Bootloader::boot() function to startup the basic XELOS environment The Boot sequence will load all necessary files and configurations to be able to use the XF Core Singleton afterwards. It does not yet INITIALIZE the XF Core Singelton which is the next required step to be able to finally use XF::instance()
Methods
Boot the XELOS Bootloader The Boot sequence will load all necessary files and configurations to be able to use the XF Core Singleton afterwards.
Define a configuration file which should be loaded instead
This method is used by the temporary error handling while booting the system and the main logging part is not available. After the process the main error handler and logging overwrite this part.
Sets the XF_MODE for the following boot sequence
Details
at line 65
static
boot()
Boot the XELOS Bootloader The Boot sequence will load all necessary files and configurations to be able to use the XF Core Singleton afterwards.
It does not yet INITIALIZE the XF Core Singleton which is the next required step to be able to finally use XF::instance()
at line 123
static bool
loadConfiguration($configuration_file)
Define a configuration file which should be loaded instead
at line 141
static void
onError(int $errNo, string $errStr, string $errFile, int $errLine)
This method is used by the temporary error handling while booting the system and the main logging part is not available. After the process the main error handler and logging overwrite this part.
at line 174
static
onException(Throwable $ex)
Handle Exception in case we have problem before Logger is setup
at line 112
static
setMode($mode)
Sets the XF_MODE for the following boot sequence