| category | 
PHPExcel | 
| package | 
PHPExcel | 
| copyright | 
Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) | 
 Methods
Add search location
addSearchLocation(string $type, string $location, string $classname) 
Static
Parameters
$type
stringExample: IWriter
 
$location
stringExample: PHPExcel/Writer/{0}.php
 
$classname
stringExample: PHPExcel_Writer_{0}
 
  
 
Create PHPExcel_Reader_IReader
createReader(string $readerType) : \PHPExcel_Reader_IReader
Static
Parameters
$readerType
stringExample: Excel2007
 
Exceptions
Returns
  
 
Create PHPExcel_Reader_IReader for file using automatic PHPExcel_Reader_IReader resolution
createReaderForFile(string $pFilename) : \PHPExcel_Reader_IReader
Static
Parameters
$pFilename
stringThe name of the spreadsheet file
 
Exceptions
Returns
  
 
Create PHPExcel_Writer_IWriter
createWriter(\PHPExcel $phpExcel, string $writerType) : \PHPExcel_Writer_IWriter
Static
Parameters
$writerType
stringExample: Excel2007
 
Exceptions
Returns
  
 
Get search locations
getSearchLocations() : array
Static
 
Identify file type using automatic PHPExcel_Reader_IReader resolution
identify(string $pFilename) : string
Static
Parameters
$pFilename
stringThe name of the spreadsheet file to identify
 
Exceptions
Returns
string
  
 
Loads PHPExcel from file using automatic PHPExcel_Reader_IReader resolution
load(string $pFilename) : \PHPExcel
Static
Parameters
$pFilename
stringThe name of the spreadsheet file
 
Exceptions
Returns
  
 
Set search locations
setSearchLocations(array $value) 
Static
Parameters
$value
array
Exceptions
  
 
Private constructor for PHPExcel_IOFactory
__construct() 
 
 Properties
 
$_autoResolveClasses : array
 
 
$_searchLocations : array