|
static | loadClass ($name) |
|
static | loadMap () |
|
static | listModules ($base_class, $include_base=False) |
|
static | blacklist ($class) |
|
static | fileToFullClass ($file) |
|
static | dispatch ($redirect=true) |
|
Map available modules and register automatic class loading
static AutoLoader::dispatch |
( |
|
$redirect = true | ) |
|
|
static |
Use a dedicated dispatch function to launch page classes.
- Parameters
-
$redirect | [boolean, default true] go to login page if an error occurs |
This method checks for the session variable CashierNo as a general indicator that the current session has been properly initialized
static AutoLoader::listModules |
( |
|
$base_class, |
|
|
|
$include_base = False |
|
) |
| |
|
static |
Get a list of available modules with the given base class
- Parameters
-
$base_class | string class name |
$include_base | whether base class should be included in the return value |
- Returns
- an array of class names
static AutoLoader::loadClass |
( |
|
$name | ) |
|
|
static |
Autoload class by name
- Parameters
-
static AutoLoader::loadMap |
( |
| ) |
|
|
static |
Map available classes. Class names should match filenames for lookups to work.
The documentation for this class was generated from the following file:
- pos/is4c-nf/lib/AutoLoader.php