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
파일 보기 프로젝트 열기: akeneo-labs/spreadsheet-parser

보호된 프로퍼티들

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