You are here

public static function PHPExcel_IOFactory::load in Loft Data Grids 6.2

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

* Loads PHPExcel from file using automatic PHPExcel_Reader_IReader resolution * * @static * @access public *

Parameters

string $pFilename The name of the spreadsheet file: * @return PHPExcel * @throws PHPExcel_Reader_Exception

9 calls to PHPExcel_IOFactory::load()
02types-xls.php in vendor/phpoffice/phpexcel/Examples/02types-xls.php
02types.php in vendor/phpoffice/phpexcel/Examples/02types.php
07reader.php in vendor/phpoffice/phpexcel/Examples/07reader.php
07readerPCLZip.php in vendor/phpoffice/phpexcel/Examples/07readerPCLZip.php
20readexcel5.php in vendor/phpoffice/phpexcel/Examples/20readexcel5.php

... See full list

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/IOFactory.php, line 190

Class

PHPExcel_IOFactory
PHPExcel_IOFactory

Code

public static function load($pFilename) {
  $reader = self::createReaderForFile($pFilename);
  return $reader
    ->load($pFilename);
}