ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct () | |
Create a new PHPExcel_Reader_CSV. More... | |
setInputEncoding ($pValue='UTF-8') | |
Set input encoding. More... | |
getInputEncoding () | |
Get input encoding. More... | |
listWorksheetInfo ($pFilename) | |
Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) More... | |
load ($pFilename) | |
Loads PHPExcel from file. More... | |
loadIntoExisting ($pFilename, PHPExcel $objPHPExcel) | |
Loads PHPExcel from file into PHPExcel instance. More... | |
getDelimiter () | |
Get delimiter. More... | |
setDelimiter ($pValue=',') | |
Set delimiter. More... | |
getEnclosure () | |
Get enclosure. More... | |
setEnclosure ($pValue='"') | |
Set enclosure. More... | |
getSheetIndex () | |
Get sheet index. More... | |
setSheetIndex ($pValue=0) | |
Set sheet index. More... | |
setContiguous ($contiguous=FALSE) | |
Set Contiguous. More... | |
getContiguous () | |
Get Contiguous. More... | |
![]() | |
getReadDataOnly () | |
Read data only? If this is true, then the Reader will only read data values for cells, it will not read any formatting information. More... | |
setReadDataOnly ($pValue=FALSE) | |
Set read data only Set to true, to advise the Reader only to read data values for cells, and to ignore any formatting information. More... | |
getIncludeCharts () | |
Read charts in workbook? If this is true, then the Reader will include any charts that exist in the workbook. More... | |
setIncludeCharts ($pValue=FALSE) | |
Set read charts in workbook Set to true, to advise the Reader to include any charts that exist in the workbook. More... | |
getLoadSheetsOnly () | |
Get which sheets to load Returns either an array of worksheet names (the list of worksheets that should be loaded), or a null indicating that all worksheets in the workbook should be loaded. More... | |
setLoadSheetsOnly ($value=NULL) | |
Set which sheets to load. More... | |
setLoadAllSheets () | |
Set all sheets to load Tells the Reader to load all worksheets from the workbook. More... | |
getReadFilter () | |
Read filter. More... | |
setReadFilter (PHPExcel_Reader_IReadFilter $pValue) | |
Set read filter. More... | |
canRead ($pFilename) | |
Can the current PHPExcel_Reader_IReader read the file? More... | |
securityScan ($xml) | |
Scan theXML for use of <!ENTITY to prevent XXE/XEE attacks. More... | |
securityScanFile ($filestream) | |
Scan theXML for use of <!ENTITY to prevent XXE/XEE attacks. More... | |
Protected Member Functions | |
_isValidFormat () | |
Validate that the current file is a CSV file. More... | |
_skipBOM () | |
Move filepointer past any BOM marker. More... | |
![]() | |
_openFile ($pFilename) | |
Open file for reading. More... | |
Private Attributes | |
$_inputEncoding = 'UTF-8' | |
$_delimiter = ',' | |
$_enclosure = '"' | |
$_sheetIndex = 0 | |
$_contiguous = false | |
$_contiguousRow = -1 | |
Additional Inherited Members | |
![]() | |
$_readDataOnly = FALSE | |
$_includeCharts = FALSE | |
$_loadSheetsOnly = NULL | |
$_readFilter = NULL | |
$_fileHandle = NULL | |
PHPExcel_Reader_CSV::__construct | ( | ) |
|
protected |
Validate that the current file is a CSV file.
Definition at line 107 of file CSV.php.
Referenced by listWorksheetInfo(), and loadIntoExisting().
|
protected |
Move filepointer past any BOM marker.
Definition at line 137 of file CSV.php.
Referenced by listWorksheetInfo(), and loadIntoExisting().
PHPExcel_Reader_CSV::getContiguous | ( | ) |
PHPExcel_Reader_CSV::getDelimiter | ( | ) |
PHPExcel_Reader_CSV::getEnclosure | ( | ) |
PHPExcel_Reader_CSV::getInputEncoding | ( | ) |
Get input encoding.
Definition at line 128 of file CSV.php.
References $_inputEncoding.
PHPExcel_Reader_CSV::getSheetIndex | ( | ) |
PHPExcel_Reader_CSV::listWorksheetInfo | ( | $pFilename | ) |
Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns)
string | $pFilename |
PHPExcel_Reader_Exception |
Definition at line 173 of file CSV.php.
References PHPExcel_Reader_Abstract\$_fileHandle, _isValidFormat(), PHPExcel_Reader_Abstract\_openFile(), _skipBOM(), array, and PHPExcel_Cell\stringFromColumnIndex().
PHPExcel_Reader_CSV::load | ( | $pFilename | ) |
Loads PHPExcel from file.
string | $pFilename |
PHPExcel_Reader_Exception |
Implements PHPExcel_Reader_IReader.
Definition at line 217 of file CSV.php.
References $objPHPExcel, and loadIntoExisting().
PHPExcel_Reader_CSV::loadIntoExisting | ( | $pFilename, | |
PHPExcel | $objPHPExcel | ||
) |
Loads PHPExcel from file into PHPExcel instance.
string | $pFilename | |
PHPExcel | $objPHPExcel |
PHPExcel_Reader_Exception |
Definition at line 234 of file CSV.php.
References $_contiguousRow, PHPExcel_Reader_Abstract\$_fileHandle, $_sheetIndex, $objPHPExcel, _isValidFormat(), PHPExcel_Reader_Abstract\_openFile(), _skipBOM(), array, PHPExcel_Shared_String\ConvertEncoding(), PHPExcel\createSheet(), PHPExcel\getSheetCount(), and PHPExcel\setActiveSheetIndex().
Referenced by load().
PHPExcel_Reader_CSV::setContiguous | ( | $contiguous = FALSE | ) |
PHPExcel_Reader_CSV::setDelimiter | ( | $pValue = ',' | ) |
PHPExcel_Reader_CSV::setEnclosure | ( | $pValue = '"' | ) |
PHPExcel_Reader_CSV::setInputEncoding | ( | $pValue = 'UTF-8' | ) |
PHPExcel_Reader_CSV::setSheetIndex | ( | $pValue = 0 | ) |
|
private |
Definition at line 85 of file CSV.php.
Referenced by getContiguous().
|
private |
Definition at line 92 of file CSV.php.
Referenced by loadIntoExisting().
|
private |
Definition at line 61 of file CSV.php.
Referenced by getDelimiter().
|
private |
Definition at line 69 of file CSV.php.
Referenced by getEnclosure().
|
private |
Definition at line 53 of file CSV.php.
Referenced by getInputEncoding().
|
private |
Definition at line 77 of file CSV.php.
Referenced by getSheetIndex(), and loadIntoExisting().