- Deprecated:
- 11 This component will be removed with ILIAS 11
Definition at line 27 of file CSVReader.php.
◆ close()
ILIAS\Survey\CSVReader::close |
( |
| ) |
|
Definition at line 79 of file CSVReader.php.
81 return fclose($this->file_resource);
◆ getCsvAsArray()
ILIAS\Survey\CSVReader::getCsvAsArray |
( |
| ) |
|
◆ open()
ILIAS\Survey\CSVReader::open |
( |
string |
$path_to_file | ) |
|
Definition at line 69 of file CSVReader.php.
References ilUtil\stripSlashes().
73 if (!is_resource($this->file_resource)) {
static stripSlashes(string $a_str, bool $a_strip_html=true, string $a_allow="")
◆ parse()
ILIAS\Survey\CSVReader::parse |
( |
| ) |
|
|
private |
◆ setDelimiter()
ILIAS\Survey\CSVReader::setDelimiter |
( |
string |
$a_del | ) |
|
◆ setLength()
ILIAS\Survey\CSVReader::setLength |
( |
int |
$a_length | ) |
|
◆ setSeparator()
ILIAS\Survey\CSVReader::setSeparator |
( |
string |
$a_sep | ) |
|
◆ unquote()
ILIAS\Survey\CSVReader::unquote |
( |
string |
$a_str | ) |
|
|
private |
◆ $data
array ILIAS\Survey\CSVReader::$data = [] |
|
private |
◆ $delimiter
string ILIAS\Survey\CSVReader::$delimiter = '""' |
|
private |
◆ $escape
string ILIAS\Survey\CSVReader::$escape = '\\' |
|
private |
◆ $file_resource
ILIAS\Survey\CSVReader::$file_resource |
|
private |
◆ $length
int ILIAS\Survey\CSVReader::$length = 1024 |
|
private |
◆ $line_ends
string ILIAS\Survey\CSVReader::$line_ends |
|
private |
◆ $separator
string ILIAS\Survey\CSVReader::$separator = ';' |
|
private |
The documentation for this class was generated from the following file: