PHP Class Akeneo\Component\SpreadsheetParser\Xlsx\RowIterator

The iterator returns arrays of results. Empty values are trimed from the right of the rows, and empty rows are skipped.
Author: Antoine Guigan ([email protected])
Inheritance: implements Iterator
Afficher le fichier Open project: akeneo-labs/spreadsheet-parser

Protected Properties

Свойство Type Description
$columnIndexTransformer Akeneo\Component\SpreadsheetParser\Xlsx\ColumnIndexTransformer
$currentKey integer
$currentValue array
$options array
$path string
$rowBuilderFactory Akeneo\Component\SpreadsheetParser\Xlsx\RowBuilderFactory
$valid boolean
$valueTransformer ValueTransformer
$xml XMLReader

Méthodes publiques

Méthode Description
__construct ( Akeneo\Component\SpreadsheetParser\Xlsx\RowBuilderFactory $rowBuilderFactory, Akeneo\Component\SpreadsheetParser\Xlsx\ColumnIndexTransformer $columnIndexTransformer, ValueTransformer $valueTransformer, string $path, array $options, Akeneo\Component\SpreadsheetParser\Xlsx\Archive $archive ) Constructor
current ( )
key ( )
next ( )
rewind ( )
valid ( )

Méthodes protégées

Méthode Description
getValue ( string $value ) : string Returns a normalized attribute value

Method Details

__construct() public méthode

Constructor
public __construct ( Akeneo\Component\SpreadsheetParser\Xlsx\RowBuilderFactory $rowBuilderFactory, Akeneo\Component\SpreadsheetParser\Xlsx\ColumnIndexTransformer $columnIndexTransformer, ValueTransformer $valueTransformer, string $path, array $options, Akeneo\Component\SpreadsheetParser\Xlsx\Archive $archive )
$rowBuilderFactory Akeneo\Component\SpreadsheetParser\Xlsx\RowBuilderFactory
$columnIndexTransformer Akeneo\Component\SpreadsheetParser\Xlsx\ColumnIndexTransformer
$valueTransformer ValueTransformer
$path string
$options array
$archive Akeneo\Component\SpreadsheetParser\Xlsx\Archive The Archive from which the path was extracted

current() public méthode

public current ( )

getValue() protected méthode

Returns a normalized attribute value
protected getValue ( string $value ) : string
$value string
Résultat string

key() public méthode

public key ( )

next() public méthode

public next ( )

rewind() public méthode

public rewind ( )

valid() public méthode

public valid ( )

Property Details

$columnIndexTransformer protected_oe property

protected ColumnIndexTransformer,Akeneo\Component\SpreadsheetParser\Xlsx $columnIndexTransformer
Résultat Akeneo\Component\SpreadsheetParser\Xlsx\ColumnIndexTransformer

$currentKey protected_oe property

protected int $currentKey
Résultat integer

$currentValue protected_oe property

protected array $currentValue
Résultat array

$options protected_oe property

protected array $options
Résultat array

$path protected_oe property

protected string $path
Résultat string

$rowBuilderFactory protected_oe property

protected RowBuilderFactory,Akeneo\Component\SpreadsheetParser\Xlsx $rowBuilderFactory
Résultat Akeneo\Component\SpreadsheetParser\Xlsx\RowBuilderFactory

$valid protected_oe property

protected bool $valid
Résultat boolean

$valueTransformer protected_oe property

protected ValueTransformer,Akeneo\Component\SpreadsheetParser\Xlsx $valueTransformer
Résultat ValueTransformer

$xml protected_oe property

protected XMLReader $xml
Résultat XMLReader