Class ApplicationInitializer
ApplicationInitialiser works like a bootstrap. This is the first step in the Picon application and performs the following:
- Registers handlers for auto auto loading classes and error handling
- Loads, validates and pareses the xml configuration into a config object
- Loads the page map
- Instantiates and injects resources
public
|
|
public
|
#
addScannedDirectory( String $directory, String $namespace = 'default' )
Add a directory to the class auto load scanner for a particular namespace |
public
|
|
public static
|
#
loadAssets( String $directory )
Runs a require_once() on all the php files in the given directory and invokes itself on any sub directories |
string
|
CONFIG_RESOURCE_NAME
|
'picon_config' |