Static Public Member Functions | |
static | addModule ($name) |
Add a module. | |
static | addSearchPath ($path) |
Add a search path for class files. | |
static | getModules () |
Get the list of added modules. | |
static | getSearchPath () |
Get the list of search paths. | |
static | initialize () |
Initialize this class. | |
static | isModuleUsed ($name) |
INSERT BRIEF DESCRIPTION HERE. |
Maintain a list of search paths for classes. When a new class that is not yet defined is called, search the search paths for a script with the same name as the required class. If such a script is found, include it.
static SAutoLoad::addModule | ( | $ | name | ) | [static] |
Add a module.
Modules are code libraries. When a module is added, and additional set of search paths is added to the SAutoLoad search paths.
Current default modules: pr2: PageRender2 module - for rendering out complete web pages xforms: Shodorx Forms - Create forms using XForms XML standard swat: Shodor Web Application Toolkit - do object-relational mapping, user login, and event handling snap2: Access content from the SNAP2 repository tk2: Toolkit functions to create widgets on your page using code smodel2: A newer version of ORM (alternative to SWAT) wiki: Wikitext parsing functions tsd: Access Textbooks, Standards and Dictionary information sdr: Metadata access classes
static SAutoLoad::addSearchPath | ( | $ | path | ) | [static] |
Add a search path for class files.
$path | [string]: The new search path |
static SAutoLoad::getModules | ( | ) | [static] |
Get the list of added modules.
static SAutoLoad::getSearchPath | ( | ) | [static] |
Get the list of search paths.
static SAutoLoad::initialize | ( | ) | [static] |
Initialize this class.
Find the common root, and build the default set of search paths
static SAutoLoad::isModuleUsed | ( | $ | name | ) | [static] |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
$name | [TYPE]: DESCRIPTION |