You are here

public function PHPExcel_Reader_Abstract::securityScanFile in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Abstract.php \PHPExcel_Reader_Abstract::securityScanFile()

* Scan theXML for use of <!ENTITY to prevent XXE/XEE attacks * *

Parameters

string $filestream: * @throws PHPExcel_Reader_Exception

6 calls to PHPExcel_Reader_Abstract::securityScanFile()
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) * *
PHPExcel_Reader_Gnumeric::listWorksheetInfo in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Gnumeric.php
* Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) * *
PHPExcel_Reader_Gnumeric::listWorksheetNames in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Gnumeric.php
* Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object * *
PHPExcel_Reader_HTML::loadIntoExisting in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/HTML.php
Loads PHPExcel from file into PHPExcel instance
PHPExcel_Reader_OOCalc::listWorksheetInfo in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/OOCalc.php
* Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) * *

... See full list

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Abstract.php, line 251

Class

PHPExcel_Reader_Abstract
PHPExcel_Reader_Abstract

Code

public function securityScanFile($filestream) {
  return $this
    ->securityScan(file_get_contents($filestream));
}