You are here

public function PHPExcel_Reader_SYLK::load in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/SYLK.php \PHPExcel_Reader_SYLK::load()

* Loads PHPExcel from file * *

Parameters

string $pFilename: * @return PHPExcel * @throws PHPExcel_Reader_Exception

Overrides PHPExcel_Reader_IReader::load

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/SYLK.php, line 204

Class

PHPExcel_Reader_SYLK
PHPExcel_Reader_SYLK

Code

public function load($pFilename) {

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

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