public static function PHPExcel_Settings::getLibXmlLoaderOptions in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Settings.php \PHPExcel_Settings::getLibXmlLoaderOptions()
Get default options for libxml loader. Defaults to LIBXML_DTDLOAD | LIBXML_DTDATTR when not set explicitly.
Return value
int Default options for libxml loader
15 calls to PHPExcel_Settings::getLibXmlLoaderOptions()
- PHPExcel_Reader_Excel2003XML::listWorksheetInfo in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Reader/ Excel2003XML.php - * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) * *
- PHPExcel_Reader_Excel2003XML::listWorksheetNames in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Reader/ Excel2003XML.php - * Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object * *
- PHPExcel_Reader_Excel2003XML::loadIntoExisting in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Reader/ Excel2003XML.php - * Loads PHPExcel from file into PHPExcel instance * *
- PHPExcel_Reader_Excel2007::canRead in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Reader/ Excel2007.php - * Can the current PHPExcel_Reader_IReader read the file? * *
- PHPExcel_Reader_Excel2007::listWorksheetInfo in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Reader/ Excel2007.php - * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) * *
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Settings.php, line 381
Class
Code
public static function getLibXmlLoaderOptions() {
if (is_null(self::$_libXmlLoaderOptions) && defined(LIBXML_DTDLOAD)) {
self::setLibXmlLoaderOptions(LIBXML_DTDLOAD | LIBXML_DTDATTR);
}
if (version_compare(PHP_VERSION, '5.2.11') >= 0) {
@libxml_disable_entity_loader(self::$_libXmlLoaderOptions == (LIBXML_DTDLOAD | LIBXML_DTDATTR));
}
return self::$_libXmlLoaderOptions;
}