Methods

initializeGlobalState()

initializeGlobalState()

loadBaseXML()

loadBaseXML()

simulateMissingFunctions()

simulateMissingFunctions()

some native PHP functions could be missing, if they require a newer PHP version.

checkEnvironment()

checkEnvironment()

this is called at some point to check some environment stuff.

loadSettings()

loadSettings()

loadConfiguration()

loadConfiguration()

we override the parent method that would only load the inc/config.inc.php we get the information from ini files instead.

if required ini files are missing, they can be created automatically from inc/config.inc.php if there is no inc/config.inc.php either, a warning is shown.

loadDefaults()

loadDefaults( $xpath,  $settings)

again, PT needs it.

Parameters

$xpath
$settings

loadPTClasses()

loadPTClasses( $Classes)

Parameters

$Classes

fillSessionWithValues()

fillSessionWithValues()

some fields in the $_SESSION need to be filled with default values, if they are empty.

loadPModules()

loadPModules( $class_loader)

Parameters

$class_loader

loadPApps()

loadPApps( $class_loader)

Parameters

$class_loader

initSession()

initSession( $settings)

do some things which are necessary to start using the $_SESSION

Parameters

$settings

loadRoxClasses()

loadRoxClasses( $class_loader)

Parameters

$class_loader

_initPVars()

_initPVars(\unknown_type $settings)

globals are said to be evil, but we need them, at least for legacy reasons.

Parameters

\unknown_type $settings

_initBWGlobals()

_initBWGlobals( $settings)

we need even more globals for bewelcome.

Parameters

$settings