
Definition at line 33 of file class_ClassLoader.php.
Public Member Functions | |
| __construct (FrameworkConfiguration $cfgInstance) | |
| The *public* constructor. | |
| __destruct () | |
| The destructor makes it sure all caches got flushed. | |
| getPrintableIncludeList () | |
| Getter for a printable list of included classes/interfaces/exceptions. | |
| getTotal () | |
| Getter for total include counter. | |
| includeClass ($className) | |
| Tries to find the given class in our list. | |
| loadClasses ($basePath, $ignoreList=array()) | |
| Scans recursively a local path for class files which must have a prefix and a suffix as given by $this->suffix and $this->prefix. | |
| loadExtraConfigs () | |
| Load extra config files. | |
Static Public Member Functions | |
| static | getInstance () |
| Getter for an instance of this class. | |
Private Member Functions | |
| includeExtraConfigs () | |
| Includes all extra config files. | |
Private Attributes | |
| $cfg = array() | |
| Configuration array. | |
| $classCacheFQFN = "" | |
| Cache for class content. | |
| $classes = array() | |
| Array with all classes. | |
| $classesCached = false | |
| Wethe class content has been cached. | |
| $debug = false | |
| Debug this class loader? (true = yes, false = no). | |
| $ignoreList = array() | |
| A list for directory names (no leading/trailing slashes!) which not be scanned by the path scanner. | |
| $listCached = false | |
| Wether the file list is cached or not. | |
| $listCacheFQFN = "" | |
| Filename for the list cache. | |
| $loadedClasses = array() | |
| List of loaded classes. | |
| $prefix = "class_" | |
| Suffix with extension for all class files. | |
| $prefixLen = 0 | |
| Length of the prefix. | |
| $suffix = ".php" | |
| Suffix with extension for all class files. | |
| $suffixLen = 0 | |
| Length of the suffix. | |
| $total = 0 | |
| Counter for loaded include files. | |
Static Private Attributes | |
| static | $selfInstance = null |
| Instance of this class. | |
1.5.6