static
boolean
checkUserConfigExists
([string $config_path = false])
-
string
$config_path: Path to configuration location
static
array
loadAllConfigs
()
static
array
loadDefaultConfig
()
Constructor, loads configurations and required classes.
The order in which these items are processed is very important - do not move items around.
Bootstrap
__construct
( $config)
Redefined in descendants as:
void
callPluginHook
([string $hook_to_call = false], [array $plugins = false])
-
string
$hook_to_call
-
array
$plugins
boolean
checkDbConnection
()
mixed
config
([string $key = false])
string
formatVersionNumber
(string $build)
array
getInstalledModuleGuids
()
array
getLoadedLibraries
()
void
getModuleRegistry
()
boolean
isLibraryLoaded
(string $library)
boolean
loadModule
(string $module)
-
string
$module: GUID of module to load
Accepted values for load_core_class are:
'classname' => 'Security', 'folder' => false, 'filename' => false, 'var' => false, 'autoload' => false, 'extends' => 'childclassname' 'root' => '/full/path/to/root/of/class'
Accepted values for custom_classes are: 'classname' => 'Myclass', 'root' => '/full/path/to/root/of/class', 'extends' => 'Settings'
boolean
loadSystemLibraryArray
(array $library_array)
object
moduleRegistry
([string $guid = false], [string $name = false], [string $interface = false])
-
string
$guid
-
string
$name
-
string
$interface
void
parsePluginRegistries
()
void
setConfig
(string $key, mixed $value)
string
versionCompare
(string $build, string $match)
-
string
$build
-
string
$match