PHP 클래스 Box\Spout\Reader\CSV\SheetIterator

상속: implements Box\Spout\Reader\IteratorInterface
파일 보기 프로젝트 열기: box/spout

보호된 프로퍼티들

프로퍼티 타입 설명
$hasReadUniqueSheet Whether the unique "sheet" has already been read
$sheet The CSV unique "sheet"

공개 메소드들

메소드 설명
__construct ( resource $filePointer, ReaderOptions $options, Box\Spout\Common\Helper\GlobalFunctionsHelper $globalFunctionsHelper )
current ( ) : Sheet Return the current element
end ( ) : void Cleans up what was created to iterate over the object.
key ( ) : integer Return the key of the current element
next ( ) : void Move forward to next element
rewind ( ) : void Rewind the Iterator to the first element
valid ( ) : boolean Checks if current position is valid

메소드 상세

__construct() 공개 메소드

public __construct ( resource $filePointer, ReaderOptions $options, Box\Spout\Common\Helper\GlobalFunctionsHelper $globalFunctionsHelper )
$filePointer resource
$options ReaderOptions
$globalFunctionsHelper Box\Spout\Common\Helper\GlobalFunctionsHelper

current() 공개 메소드

Return the current element
public current ( ) : Sheet
리턴 Sheet

end() 공개 메소드

Cleans up what was created to iterate over the object.
public end ( ) : void
리턴 void

key() 공개 메소드

Return the key of the current element
public key ( ) : integer
리턴 integer

next() 공개 메소드

Move forward to next element
public next ( ) : void
리턴 void

rewind() 공개 메소드

Rewind the Iterator to the first element
public rewind ( ) : void
리턴 void

valid() 공개 메소드

Checks if current position is valid
public valid ( ) : boolean
리턴 boolean

프로퍼티 상세

$hasReadUniqueSheet 보호되어 있는 프로퍼티

Whether the unique "sheet" has already been read
protected $hasReadUniqueSheet

$sheet 보호되어 있는 프로퍼티

The CSV unique "sheet"
protected $sheet