autoload Class provided by System to Autoload Classes
| package |
SYSTEM |
|---|
autoload(string $class) : boolean
It is called from PHP if a new class is required.
stringClass to be autoloaded
booleanReturns true if successfull.
autoload_(string $class, string $namespace = '') : boolean
stringClass to be autoloaded
stringNamespace of the Request
booleanReturns true or false.
getClassFromFile(string $file) : string
stringFilepath to be reduced to classname
stringReturns classname
getClassNamespaceFromClass(string $class) : array
stringClass including possible Namespaces
arrayReturns array(class,namespace).
register_autoload() : null
nullReturns null
registerFile(string $file, string $namespace = '') : null
stringFilepath to be autoloaded from
stringNamespace of the File
nullReturns null.
registerFolder(string $folder, string $namespace = '') : null
stringFolderpath to be autoloaded from
stringNamespace of the Folder
nullReturns null.
registerFunc(string $func, string $namespace = '') : null
| todo |
Does this work? Is it useful? |
|---|
stringFunction to be "autoloaded"
stringNamespace of the Function
nullReturns null.
files :
folders :
func :