Свойство | Type | Description | |
---|---|---|---|
$filePointer | Pointer to the file to be written | ||
$originalAutoDetectLineEndings | Original value for the "auto_detect_line_endings" INI value | ||
$sheetIterator | To iterator over the CSV unique "sheet" |
Méthode | Description | |
---|---|---|
setEncoding ( string $encoding ) : |
Sets the encoding of the CSV file to be read. | |
setEndOfLineCharacter ( string $endOfLineCharacter ) : |
Sets the EOL for the CSV. | |
setFieldDelimiter ( string $fieldDelimiter ) : |
Sets the field delimiter for the CSV. | |
setFieldEnclosure ( string $fieldEnclosure ) : |
Sets the field enclosure for the CSV. |
Méthode | Description | |
---|---|---|
closeReader ( ) : void | Closes the reader. To be used after reading the file. | |
doesSupportStreamWrapper ( ) : boolean | Returns whether stream wrappers are supported | |
getConcreteSheetIterator ( ) : |
Returns an iterator to iterate over sheets. | |
getOptions ( ) : |
Returns the reader's current options | |
openReader ( string $filePath ) : void | Opens the file at the given path to make it ready to be read. |
protected closeReader ( ) : void | ||
Résultat | void |
protected doesSupportStreamWrapper ( ) : boolean | ||
Résultat | boolean |
protected getConcreteSheetIterator ( ) : |
||
Résultat | To iterate over sheets |
protected getOptions ( ) : |
||
Résultat |
protected openReader ( string $filePath ) : void | ||
$filePath | string | Path of the CSV file to be read |
Résultat | void |
public setEncoding ( string $encoding ) : |
||
$encoding | string | Encoding of the CSV file to be read |
Résultat |
public setEndOfLineCharacter ( string $endOfLineCharacter ) : |
||
$endOfLineCharacter | string | used to properly get lines from the CSV file. |
Résultat |
public setFieldDelimiter ( string $fieldDelimiter ) : |
||
$fieldDelimiter | string | Character that delimits fields |
Résultat |
public setFieldEnclosure ( string $fieldEnclosure ) : |
||
$fieldEnclosure | string | Character that enclose fields |
Résultat |
protected $originalAutoDetectLineEndings |