ILIAS
release_4-4 Revision
|
Public Member Functions | |
loadFile ($file_path) | |
Load the CSV file to be parsed. More... | |
loadString ($str) | |
Load the string to be parsed. More... | |
setDelimiter ($delimiter) | |
Set delimiter that should be used to parse CSV document. More... | |
![]() | |
__construct ($file_url=NULL) | |
getCell ($row_num, $col_num, $val_only=true) | |
Get value of the specified cell. More... | |
getColumn ($col_num, $val_only=TRUE) | |
Get data of the specified column as an array. More... | |
getField ($val_only=TRUE) | |
Get data of all cells as an array. More... | |
getRow ($row_num, $val_only=TRUE) | |
Get data of the specified row as an array. More... | |
isCellExists ($row_num, $col_num) | |
Check whether cell with specified row & column exists. More... | |
isColumnExists ($col_num) | |
Check whether a specified column exists. More... | |
isRowExists ($row_num) | |
Check whether a specified row exists. More... | |
isFieldExists () | |
Check whether table exists. More... | |
isFileReady ($file_path) | |
Check whether file exists, valid, and readable. More... | |
Protected Attributes | |
$delimiter | |
$file_extension = 'csv' | |
![]() | |
$table_arr | |
$file_extension = '' | |
Definition at line 13 of file CSVParser.php.
SimpleExcel\Parser\CSVParser::loadFile | ( | $file_path | ) |
Load the CSV file to be parsed.
string | $file_path | Path to CSV file |
Implements SimpleExcel\Parser\IParser.
Definition at line 36 of file CSVParser.php.
References SimpleExcel\Parser\BaseParser\isFileReady(), and SimpleExcel\Parser\CSVParser\loadString().
SimpleExcel\Parser\CSVParser::loadString | ( | $str | ) |
Load the string to be parsed.
string | $str | String with CSV format |
Implements SimpleExcel\Parser\IParser.
Definition at line 50 of file CSVParser.php.
Referenced by SimpleExcel\Parser\CSVParser\loadFile().
SimpleExcel\Parser\CSVParser::setDelimiter | ( | $delimiter | ) |
Set delimiter that should be used to parse CSV document.
string | $delimiter | Delimiter character |
Definition at line 89 of file CSVParser.php.
References SimpleExcel\Parser\CSVParser\$delimiter.
|
protected |
Definition at line 21 of file CSVParser.php.
Referenced by SimpleExcel\Parser\CSVParser\setDelimiter().
|
protected |
Definition at line 29 of file CSVParser.php.