category |
PHPExcel |
package |
PHPExcel |
copyright |
Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) |
Methods
Add search location
addSearchLocation(string $type, string $location, string $classname)
Static
Parameters
$type
string
Example: IWriter
$location
string
Example: PHPExcel/Writer/{0}.php
$classname
string
Example: PHPExcel_Writer_{0}
Create PHPExcel_Reader_IReader
createReader(string $readerType) : \PHPExcel_Reader_IReader
Static
Parameters
$readerType
string
Example: Excel2007
Exceptions
Returns
Create PHPExcel_Reader_IReader for file using automatic PHPExcel_Reader_IReader resolution
createReaderForFile(string $pFilename) : \PHPExcel_Reader_IReader
Static
Parameters
$pFilename
string
The name of the spreadsheet file
Exceptions
Returns
Create PHPExcel_Writer_IWriter
createWriter(\PHPExcel $phpExcel, string $writerType) : \PHPExcel_Writer_IWriter
Static
Parameters
$writerType
string
Example: 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
string
The 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
string
The 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