35         while (($line = fgetcsv($this->file_resource, $this->length, $this->separator)) !== 
false) {
    36             $line_count = count($line);
    37             for ($col = 0; $col < $line_count; $col++) {
    38                 $this->data[$row][$col] = $this->
unquote($line[$col]);
    47         $this->separator = $a_sep;
    52         $this->delimiter = $a_del;
    57         $this->length = $a_length;
    60     public function open(
string $path_to_file): bool
    64         if (!is_resource($this->file_resource)) {
    72         return fclose($this->file_resource);
    82     private function unquote(
string $a_str): string
    84         return str_replace($this->delimiter . $this->delimiter, $this->delimiter, $a_str);
 
setDelimiter(string $a_del)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static stripSlashes(string $a_str, bool $a_strip_html=true, string $a_allow="")
 
open(string $path_to_file)
 
setSeparator(string $a_sep)