ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5
SimpleExcel\Parser\TSVParser Class Reference
+ Inheritance diagram for SimpleExcel\Parser\TSVParser:
+ Collaboration diagram for SimpleExcel\Parser\TSVParser:

Public Member Functions

 setDelimiter ($delimiter)
 Override parent class, this method is ignored in TSV. More...
 
- Public Member Functions inherited from SimpleExcel\Parser\CSVParser
 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...
 
- Public Member Functions inherited from SimpleExcel\Parser\BaseParser
 __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 = "\t"
 
 $file_extension = 'tsv'
 
- Protected Attributes inherited from SimpleExcel\Parser\CSVParser
 $delimiter
 
 $file_extension = 'csv'
 
- Protected Attributes inherited from SimpleExcel\Parser\BaseParser
 $table_arr
 
 $file_extension = ''
 

Detailed Description

Definition at line 11 of file TSVParser.php.

Member Function Documentation

◆ setDelimiter()

SimpleExcel\Parser\TSVParser::setDelimiter (   $delimiter)

Override parent class, this method is ignored in TSV.

Definition at line 32 of file TSVParser.php.

32  {
33  // do nothing
34  }

Field Documentation

◆ $delimiter

SimpleExcel\Parser\TSVParser::$delimiter = "\t"
protected

Definition at line 19 of file TSVParser.php.

◆ $file_extension

SimpleExcel\Parser\TSVParser::$file_extension = 'tsv'
protected

Definition at line 27 of file TSVParser.php.


The documentation for this class was generated from the following file: