33 if (ini_get(
'mbstring.func_overload') & 2) {
34 throw new PHPExcel_Exception(
'Multibyte function overloading in PHP must be disabled for string functions (2).');
53 if (function_exists(
'__autoload')) {
55 spl_autoload_register(
'__autoload');
58 if (version_compare(PHP_VERSION,
'5.3.0') >= 0) {
59 return spl_autoload_register(
array(
'PHPExcel_Autoloader',
'Load'),
true,
true);
61 return spl_autoload_register(
array(
'PHPExcel_Autoloader',
'Load'));
71 public static function Load($pClassName){
72 if ((class_exists($pClassName,FALSE)) || (strpos($pClassName,
'PHPExcel') !== 0)) {
77 $pClassFilePath = PHPEXCEL_ROOT .
78 str_replace(
'_',DIRECTORY_SEPARATOR,$pClassName) .
81 if ((file_exists($pClassFilePath) === FALSE) || (is_readable($pClassFilePath) === FALSE)) {
86 require($pClassFilePath);
static Register()
Register the Autoloader with SPL.
static buildCharacterSets()
static Load($pClassName)
Autoload a class identified by name.
Create styles array
The data for the language used.