ILIAS
eassessment Revision 61809
|
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. | |
setInputEncoding ($pValue= 'UTF-8') | |
Set input encoding. | |
getInputEncoding () | |
Get input encoding. | |
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. | |
setContiguous ($contiguous=false) | |
Set Contiguous. | |
getContiguous () | |
Get Contiguous. |
Private Attributes | |
$_inputEncoding = 'UTF-8' | |
$_delimiter = ',' | |
$_enclosure = '"' | |
$_lineEnding = PHP_EOL | |
$_sheetIndex = 0 | |
$_contiguous = false | |
$_contiguousRow = -1 | |
$_readFilter = null |
PHPExcel_Reader_CSV::__construct | ( | ) |
Create a new PHPExcel_Reader_CSV.
PHPExcel_Reader_CSV::canRead | ( | $pFilename | ) |
Can the current PHPExcel_Reader_IReader read the file?
public
string | $pFileName |
Exception |
Implements PHPExcel_Reader_IReader.
Definition at line 127 of file CSV.php.
PHPExcel_Reader_CSV::getContiguous | ( | ) |
Get Contiguous.
public
Definition at line 407 of file CSV.php.
References $_contiguous.
PHPExcel_Reader_CSV::getDelimiter | ( | ) |
PHPExcel_Reader_CSV::getEnclosure | ( | ) |
PHPExcel_Reader_CSV::getInputEncoding | ( | ) |
Get input encoding.
public
Definition at line 193 of file CSV.php.
References $_inputEncoding.
PHPExcel_Reader_CSV::getLineEnding | ( | ) |
Get line ending.
public
Definition at line 347 of file CSV.php.
References $_lineEnding.
PHPExcel_Reader_CSV::getReadFilter | ( | ) |
Read filter.
public
Definition at line 160 of file CSV.php.
References $_readFilter.
PHPExcel_Reader_CSV::getSheetIndex | ( | ) |
PHPExcel_Reader_CSV::load | ( | $pFilename | ) |
Loads PHPExcel from file.
public
string | $pFilename |
Exception |
Implements PHPExcel_Reader_IReader.
Definition at line 145 of file CSV.php.
References loadIntoExisting().
PHPExcel_Reader_CSV::loadIntoExisting | ( | $pFilename, | |
PHPExcel | $objPHPExcel | ||
) |
Loads PHPExcel from file into PHPExcel instance.
public
string | $pFilename | |
PHPExcel | $objPHPExcel |
Exception |
Definition at line 207 of file CSV.php.
References $_contiguousRow, $_sheetIndex, PHPExcel_Shared_String\ConvertEncoding(), PHPExcel\createSheet(), PHPExcel\getActiveSheet(), PHPExcel\getSheetCount(), and PHPExcel\setActiveSheetIndex().
Referenced by load().
PHPExcel_Reader_CSV::setContiguous | ( | $contiguous = false | ) |
PHPExcel_Reader_CSV::setDelimiter | ( | $pValue = ',' | ) |
Set delimiter.
public
string | $pValue | Delimiter, defaults to , |
Definition at line 311 of file CSV.php.
PHPExcel_Reader_CSV::setEnclosure | ( | $pValue = '"' | ) |
Set enclosure.
public
string | $pValue | Enclosure, defaults to " |
Definition at line 333 of file CSV.php.
PHPExcel_Reader_CSV::setInputEncoding | ( | $pValue = 'UTF-8' | ) |
PHPExcel_Reader_CSV::setLineEnding | ( | $pValue = PHP_EOL | ) |
Set line ending.
public
string | $pValue | Line ending, defaults to OS line ending (PHP_EOL) |
Definition at line 358 of file CSV.php.
PHPExcel_Reader_CSV::setReadFilter | ( | PHPExcel_Reader_IReadFilter | $pValue | ) |
Set read filter.
public
PHPExcel_Reader_IReadFilter | $pValue |
Definition at line 170 of file CSV.php.
PHPExcel_Reader_CSV::setSheetIndex | ( | $pValue = 0 | ) |
Set sheet index.
public
int | $pValue | Sheet index |
Definition at line 380 of file CSV.php.
|
private |
Definition at line 93 of file CSV.php.
Referenced by getContiguous().
|
private |
Definition at line 102 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 getLineEnding().
|
private |
Definition at line 110 of file CSV.php.
Referenced by getReadFilter().
|
private |
Definition at line 85 of file CSV.php.
Referenced by getSheetIndex(), and loadIntoExisting().