loader
in package
Loader
Tags
Table of Contents
- getObject() : object
- Globaler Generator für Objekte
- libGetFilePath() : string
- Returns library file path
- libGetFileUrl() : string
- Returns library file URL
- stackPull() : mixed
- Pull data to globals stack cache
- stackPush() : bool
- Push data to globals stack cache
Methods
getObject()
Globaler Generator für Objekte
public
static getObject(string $class[, mixed $params = null ][, bool $cache = true ]) : object
Parameters
- $class : string
-
Class name including namespace
- $params : mixed = null
-
Params for construct
- $cache : bool = true
-
Load object from globals cache
Return values
object —libGetFilePath()
Returns library file path
public
static libGetFilePath(string $libPath[, bool $exists = true ]) : string
Parameters
- $libPath : string
- $exists : bool = true
Return values
string —libGetFileUrl()
Returns library file URL
public
static libGetFileUrl(string $libPath) : string
Parameters
- $libPath : string
Return values
string —stackPull()
Pull data to globals stack cache
public
static stackPull(string $name) : mixed
Parameters
- $name : string
Return values
mixed —stackPush()
Push data to globals stack cache
public
static stackPush(string $name, mixed $value[, bool $force = false ]) : bool
Parameters
- $name : string
- $value : mixed
- $force : bool = false