You are here

public function PHPExcel_Reader_HTML::load in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/HTML.php \PHPExcel_Reader_HTML::load()

Loads PHPExcel from file

Parameters

string $pFilename:

Return value

PHPExcel

Throws

PHPExcel_Reader_Exception

Overrides PHPExcel_Reader_IReader::load

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/HTML.php, line 138

Class

PHPExcel_Reader_HTML
PHPExcel_Reader_HTML

Code

public function load($pFilename) {

  // Create new PHPExcel
  $objPHPExcel = new PHPExcel();

  // Load into this instance
  return $this
    ->loadIntoExisting($pFilename, $objPHPExcel);
}