PHP Класс Akeneo\Component\SpreadsheetParser\Csv\RowIterator

The following options are available : - length: the maximum length of read lines - delimiter: the CSV delimiter character - enclosure: the CSV enclosure character - escape: the CSV escape character - encoding: the encoding of the CSV file
Автор: Antoine Guigan ([email protected])
Наследование: implements Iterator
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$currentKey integer
$currentValue array
$fileHandle resource
$options array
$path string
$valid boolean

Открытые методы

Метод Описание
__construct ( string $path, array $options ) Constructor
current ( )
key ( )
next ( )
rewind ( )
valid ( )

Защищенные методы

Метод Описание
getCurrentEncoding ( ) : string Returns the server encoding
openResource ( ) Opens the file resource
setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver ) Sets the default options

Описание методов

__construct() публичный метод

Constructor
public __construct ( string $path, array $options )
$path string
$options array

current() публичный метод

public current ( )

getCurrentEncoding() защищенный метод

Returns the server encoding
protected getCurrentEncoding ( ) : string
Результат string

key() публичный метод

public key ( )

next() публичный метод

public next ( )

openResource() защищенный метод

Opens the file resource
protected openResource ( )

rewind() публичный метод

public rewind ( )

setDefaultOptions() защищенный метод

Sets the default options
protected setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolver

valid() публичный метод

public valid ( )

Описание свойств

$currentKey защищенное свойство

protected int $currentKey
Результат integer

$currentValue защищенное свойство

protected array $currentValue
Результат array

$fileHandle защищенное свойство

protected resource $fileHandle
Результат resource

$options защищенное свойство

protected array $options
Результат array

$path защищенное свойство

protected string $path
Результат string

$valid защищенное свойство

protected bool $valid
Результат boolean