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.
Definition at line 13 of file SAutoLoad.php5.
| 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
Definition at line 89 of file SAutoLoad.php5.
References addSearchPath(), SConfig::getOption(), SDRService::init(), and SErrorManager::setWarning().
| static SAutoLoad::addSearchPath | ( | $ | path | ) | [static] |
Add a search path for class files.
| $path | [string]: The new search path |
Definition at line 38 of file SAutoLoad.php5.
Referenced by addModule(), and initialize().
| static SAutoLoad::getModules | ( | ) | [static] |
Get the list of added modules.
Definition at line 56 of file SAutoLoad.php5.
Referenced by PageRender2::renderPrint().
| static SAutoLoad::getSearchPath | ( | ) | [static] |
Get the list of search paths.
Definition at line 48 of file SAutoLoad.php5.
| static SAutoLoad::initialize | ( | ) | [static] |
Initialize this class.
Find the common root, and build the default set of search paths
Definition at line 24 of file SAutoLoad.php5.
References addSearchPath().
| static SAutoLoad::isModuleUsed | ( | $ | name | ) | [static] |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
| $name | [TYPE]: DESCRIPTION |
Definition at line 68 of file SAutoLoad.php5.
Referenced by TKSnapInteractivateLessonPreview::getParameters(), TKSnapInteractivateInstructorPreview::getParameters(), and TKSnapInteractivateLessonEditor::showEditor().
1.5.6