PHP 클래스 Sonata\Exporter\Source\AbstractXmlSourceIterator

저자: Vincent Touzet ([email protected])
상속: implements SourceIteratorInterface
파일 보기 프로젝트 열기: sonata-project/exporter

보호된 프로퍼티들

프로퍼티 타입 설명
$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