static FannieAPI::init |
( |
) | |
|
|
static |
Initialize session to retain class definition info.
static FannieAPI::listModules |
( |
|
$base_class, |
|
|
|
$include_base = false |
|
) |
| |
|
static |
Get a list of all available classes implementing a given base class
- Parameters
-
$base_class | [string] name of base class |
$include_base | [boolean] include base class name in the result set [optional, default false] |
- Returns
- [array] of [string] class names
static FannieAPI::loadClass |
( |
|
$name) | |
|
|
static |
Load definition for given class
- Parameters
-
There's a namespace involved If the prefix is COREPOS, look for class in classlib2.0 directory path. If the prefix is COREPOS, look for class in modules/plugins2.0 directory path Otherwise, just strip off the namespace and search both plugins and API class library
static FannieAPI::pathToClass |
( |
|
$path) | |
|
|
static |
Determine fully namespaced class name based on filesystem path
- Parameters
-
$path | [string] file system path |
- Returns
- [string] class name with namespace if applicable
The documentation for this class was generated from the following file:
- fannie/classlib2.0/FannieAPI.php