Definition at line 2 of file AutoLoader.php.
◆ loadClass()
static AutoLoader::loadClass |
( |
|
$className | ) |
|
|
static |
◆ registerClass()
static AutoLoader::registerClass |
( |
|
$className, |
|
|
|
$fileName |
|
) |
| |
|
static |
◆ registerDirectory()
static AutoLoader::registerDirectory |
( |
|
$dirName | ) |
|
|
static |
Store the filename (sans extension) & full path of all ".php" files found.
Definition at line 9 of file AutoLoader.php.
11 $di =
new DirectoryIterator($dirName);
12 foreach ($di as $file) {
14 if ($file->isDir() && !$file->isLink() && !$file->isDot()) {
17 }
elseif (substr($file->getFilename(), -4) ===
'.php') {
19 $className = substr($file->getFilename(), 0, -4);
static registerDirectory($dirName)
Store the filename (sans extension) & full path of all ".php" files found.
static registerClass($className, $fileName)
if(empty($site_name)) elseif($piwik->site_add( $site_name, $site_urls))
References elseif, and registerClass().
◆ $classNames
AutoLoader::$classNames = array() |
|
staticprivate |
The documentation for this class was generated from the following file: