jConfigAutoloader
in package
Tags
Table of Contents
- $config : object
- __construct() : mixed
- loadClass() : mixed
- the method that should be called by the autoload system.
- getPath() : array<string|int, mixed>|string
Properties
$config
protected
object
$config
a configuration object readed from an ini file
Tags
Methods
__construct()
public
__construct(mixed $config) : mixed
Parameters
- $config : mixed
Return values
mixed —loadClass()
the method that should be called by the autoload system.
public
loadClass(mixed $className) : mixed
Parameters
- $className : mixed
Return values
mixed —getPath()
protected
getPath(mixed $className) : array<string|int, mixed>|string
Parameters
- $className : mixed
Return values
array<string|int, mixed>|string —the full path of the file declaring the given class