ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
__construct () | |
Create a new PHPExcel_Reader_CSV. | |
canRead ($pFilename) | |
Can the current PHPExcel_Reader_IReader read the file? | |
load ($pFilename) | |
Loads PHPExcel from file. | |
getReadFilter () | |
Read filter. | |
setReadFilter (PHPExcel_Reader_IReadFilter $pValue) | |
Set read filter. | |
loadIntoExisting ($pFilename, PHPExcel $objPHPExcel) | |
Loads PHPExcel from file into PHPExcel instance. | |
getDelimiter () | |
Get delimiter. | |
setDelimiter ($pValue= ',') | |
Set delimiter. | |
getEnclosure () | |
Get enclosure. | |
setEnclosure ($pValue= '"') | |
Set enclosure. | |
getLineEnding () | |
Get line ending. | |
setLineEnding ($pValue=PHP_EOL) | |
Set line ending. | |
getSheetIndex () | |
Get sheet index. | |
setSheetIndex ($pValue=0) | |
Set sheet index. |
Private Attributes | |
$_delimiter | |
$_enclosure | |
$_lineEnding | |
$_sheetIndex | |
$_readFilter = null |
PHPExcel_Reader_CSV::__construct | ( | ) |
Create a new PHPExcel_Reader_CSV.
Definition at line 100 of file CSV.php.
PHPExcel_Reader_CSV::canRead | ( | $pFilename | ) |
Can the current PHPExcel_Reader_IReader read the file?
string | $pFileName |
Implements PHPExcel_Reader_IReader.
Definition at line 114 of file CSV.php.
PHPExcel_Reader_CSV::getDelimiter | ( | ) |
PHPExcel_Reader_CSV::getEnclosure | ( | ) |
PHPExcel_Reader_CSV::getLineEnding | ( | ) |
PHPExcel_Reader_CSV::getReadFilter | ( | ) |
Read filter.
Definition at line 145 of file CSV.php.
References $_readFilter.
PHPExcel_Reader_CSV::getSheetIndex | ( | ) |
PHPExcel_Reader_CSV::load | ( | $pFilename | ) |
Loads PHPExcel from file.
string | $pFilename |
Exception |
Implements PHPExcel_Reader_IReader.
Definition at line 131 of file CSV.php.
References loadIntoExisting().
PHPExcel_Reader_CSV::loadIntoExisting | ( | $pFilename, | |
PHPExcel | $objPHPExcel | ||
) |
Loads PHPExcel from file into PHPExcel instance.
string | $pFilename | |
PHPExcel | $objPHPExcel |
Exception |
Definition at line 165 of file CSV.php.
References $_sheetIndex, PHPExcel\createSheet(), PHPExcel\getActiveSheet(), PHPExcel\getSheetCount(), PHPExcel\setActiveSheetIndex(), and PHPExcel_Cell\stringFromColumnIndex().
Referenced by load().
PHPExcel_Reader_CSV::setDelimiter | ( | $pValue = ',' | ) |
Set delimiter.
string | $pValue | Delimiter, defaults to , |
Definition at line 227 of file CSV.php.
PHPExcel_Reader_CSV::setEnclosure | ( | $pValue = '"' | ) |
Set enclosure.
string | $pValue | Enclosure, defaults to " |
Definition at line 247 of file CSV.php.
PHPExcel_Reader_CSV::setLineEnding | ( | $pValue = PHP_EOL | ) |
Set line ending.
string | $pValue | Line ending, defaults to OS line ending (PHP_EOL) |
Definition at line 270 of file CSV.php.
PHPExcel_Reader_CSV::setReadFilter | ( | PHPExcel_Reader_IReadFilter | $pValue | ) |
Set read filter.
PHPExcel_Reader_IReadFilter | $pValue |
Definition at line 154 of file CSV.php.
PHPExcel_Reader_CSV::setSheetIndex | ( | $pValue = 0 | ) |
Set sheet index.
int | $pValue | Sheet index |
Definition at line 290 of file CSV.php.
|
private |
Definition at line 67 of file CSV.php.
Referenced by getDelimiter().
|
private |
Definition at line 74 of file CSV.php.
Referenced by getEnclosure().
|
private |
Definition at line 81 of file CSV.php.
Referenced by getLineEnding().
|
private |
Definition at line 95 of file CSV.php.
Referenced by getReadFilter().
|
private |
Definition at line 88 of file CSV.php.
Referenced by getSheetIndex(), and loadIntoExisting().