Property | Type | Description | |
---|---|---|---|
$bufferedRow | array | ||
$columns | string[] | ||
$currentColumnIndex | integer | ||
$currentRow | mixed | ||
$currentRowEnded | boolean | ||
$currentRowIndex | integer | ||
$file | resource | ||
$filename | string | ||
$hasHeaders | boolean | null | ||
$parser | resource | ||
$position | integer |
Method | Description | |
---|---|---|
__construct ( string $filename, boolean $hasHeaders = true ) | ||
current ( ) | ||
key ( ) | ||
next ( ) | ||
rewind ( ) | ||
tagContent ( resource $parser, string $data ) | Tag content handler. | |
tagEnd ( resource $parser, string $name ) | End element handler. | |
tagStart ( resource $parser, string $name, array $attributes = [] ) | Start element handler. | |
valid ( ) |
Method | Description | |
---|---|---|
parseRow ( ) | Parse until reached. | |
prepareCurrentRow ( ) | Prepare the row to return. |
public __construct ( string $filename, boolean $hasHeaders = true ) | ||
$filename | string | |
$hasHeaders | boolean |
abstract public tagContent ( resource $parser, string $data ) | ||
$parser | resource | |
$data | string |