PHP Класс Sonata\Exporter\Source\AbstractXmlSourceIterator

Автор: Vincent Touzet ([email protected])
Наследование: implements SourceIteratorInterface
Показать файл Открыть проект

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

Свойство Тип Описание
$bufferedRow array
$columns string[]
$currentColumnIndex integer
$currentRow mixed
$currentRowEnded boolean
$currentRowIndex integer
$file resource
$filename string
$hasHeaders boolean | null
$parser resource
$position integer

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

Метод Описание
__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 ( )

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

Метод Описание
parseRow ( ) Parse until reached.
prepareCurrentRow ( ) Prepare the row to return.

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

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

public __construct ( string $filename, boolean $hasHeaders = true )
$filename string
$hasHeaders boolean

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

public current ( )

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

public key ( )

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

public next ( )

parseRow() защищенный Метод

Parse until reached.
protected parseRow ( )

prepareCurrentRow() защищенный Метод

Prepare the row to return.
protected prepareCurrentRow ( )

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

public rewind ( )

tagContent() абстрактный публичный Метод

Tag content handler.
abstract public tagContent ( resource $parser, string $data )
$parser resource
$data string

tagEnd() абстрактный публичный Метод

End element handler.
abstract public tagEnd ( resource $parser, string $name )
$parser resource
$name string

tagStart() абстрактный публичный Метод

Start element handler.
abstract public tagStart ( resource $parser, string $name, array $attributes = [] )
$parser resource
$name string
$attributes array

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

public valid ( )

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

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

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

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

protected string[] $columns
Результат string[]

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

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

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

protected mixed $currentRow
Результат mixed

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

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

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

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

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

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

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

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

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

protected bool|null $hasHeaders
Результат boolean | null

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

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

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

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