loader
in
Loader
Table of Contents
getObject() | Globaler Generator für Objekte | object |
---|---|---|
libGetFilePath() | Returns library file path | string |
libGetFileUrl() | Returns library file URL | string |
stackPush() | Push data to globals stack cache | bool |
stackPull() | Pull data to globals stack cache | mixed |
Methods
getObject()
Globaler Generator für Objekte
public
static getObject(
$class :
string
[, $params :
mixed
= null ]
[, $cache :
bool
= 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
objectlibGetFilePath()
Returns library file path
public
static libGetFilePath(
$libPath :
string
[, $exists :
bool
= true ]
)
: string
Parameters
- $libPath : string
- $exists : bool = true
Return values
stringlibGetFileUrl()
Returns library file URL
public
static libGetFileUrl(
$libPath :
string
)
: string
Parameters
- $libPath : string
Return values
stringstackPush()
Push data to globals stack cache
public
static stackPush(
$name :
string
, $value :
mixed
[, $force :
bool
= false ]
)
: bool
Parameters
- $name : string
- $value : mixed
- $force : bool = false
Return values
boolstackPull()
Pull data to globals stack cache
public
static stackPull(
$name :
string
)
: mixed
Parameters
- $name : string