Static Public Member Functions |
static | Register () |
static | Load ($pObjectName) |
Detailed Description
Definition at line 37 of file Autoloader.php.
Member Function Documentation
static PHPExcel_Autoloader::Load |
( |
|
$pObjectName | ) |
|
|
static |
Definition at line 44 of file Autoloader.php.
{
if ((class_exists($pObjectName)) || (strpos($pObjectName, 'PHPExcel') === False)) {
return false;
}
$pObjectFilePath = PHPEXCEL_ROOT.
str_replace('_',DIRECTORY_SEPARATOR,$pObjectName).
'.php';
if ((file_exists($pObjectFilePath) === false) || (is_readable($pObjectFilePath) === false)) {
return false;
}
require($pObjectFilePath);
}
static PHPExcel_Autoloader::Register |
( |
| ) |
|
|
static |
Definition at line 39 of file Autoloader.php.
{
return spl_autoload_register(array('PHPExcel_Autoloader', 'Load'));
}
The documentation for this class was generated from the following file: