Properties

$aliases

$aliases : 

Type

$lite_igno

$lite_igno : 

Type

$locs

$locs : 

Type

$const

$const : 

Type

$libraries

$libraries : array

Libraries. Key is foldername in libraries-Folder, Value is First Namespace Key.s

Type

array

$order

$order : 

Type

$inst

$inst : 

Type

$autoloadedLibs

$autoloadedLibs : 

Type

$loaded

$loaded : 

Type

$destruct_started

$destruct_started : 

Type

$all_deps

$all_deps : 

Type

Methods

init()

init(  $root_path,   $lite = false) 

Parameters

$root_path
$lite

class_exists()

class_exists(  $name) 

Parameters

$name

get_const()

get_const(  $name) 

Parameters

$name

isset_const()

isset_const(  $name) 

Parameters

$name

add_const()

add_const(  $name,   $val) 

Parameters

$name
$val

load_config()

load_config(  $install = false) 

Parameters

$install

load_html_fields()

load_html_fields() 

autoload_libraries()

autoload_libraries(  $strClassname) 

Parameters

$strClassname

load()

load(  $classname) 

Parameters

$classname

register()

register(  $classname,   $params = array(),   $diff_inst = false) 

Parameters

$classname
$params
$diff_inst

grab()

grab(  $classname,   $hash) 

Parameters

$classname
$hash

fetch()

fetch(  $name,   $params = array()) 

Parameters

$name
$params

add_class()

add_class(string  $strClassname, string  $strLocation, string  $strAlias = false) : false

Add a class to the registry, so it's accessable with register();

Parameters

string $strClassname
  • your classname, e.g. plus_datahandler
string $strLocation
  • the location of the class, without a rootpath, e.h. plugins/blupp/classes/
string $strAlias
  • an alias for your classname, for shorter accessability, e.g. pdh

Returns

false —

if classname has been already registered. Otherwise Classname or Alias, if Alias has been set successfully

destruct()

destruct(  $class,   $class_hash = '') 

Parameters

$class
$class_hash

set_debug_level()

set_debug_level() 

fix_server_path()

fix_server_path() 

set_timezone()

set_timezone() 

_destruct()

_destruct(  $class,   $class_hash = '') 

Parameters

$class
$class_hash