PHP Class Sonata\Exporter\Source\PropelCollectionSourceIterator

Author: Kévin Gomez ([email protected])
Inheritance: implements SourceIteratorInterface
Afficher le fichier Open project: sonata-project/exporter

Protected Properties

Свойство Type Description
$collection PropelCollection
$dateTimeFormat default DateTime format
$iterator ArrayIterator
$propertyAccessor Symfony\Component\PropertyAccess\PropertyAccess
$propertyPaths array

Méthodes publiques

Méthode Description
__construct ( PropelCollection $collection, array $fields, string $dateTimeFormat = 'r' )
current ( )
getDateTimeFormat ( ) : string
key ( )
next ( )
rewind ( )
setDateTimeFormat ( string $dateTimeFormat )
valid ( )

Méthodes protégées

Méthode Description
getValue ( $value ) : null | string

Method Details

__construct() public méthode

public __construct ( PropelCollection $collection, array $fields, string $dateTimeFormat = 'r' )
$collection PropelCollection
$fields array Fields to export
$dateTimeFormat string

current() public méthode

public current ( )

getDateTimeFormat() public méthode

public getDateTimeFormat ( ) : string
Résultat string

getValue() protected méthode

protected getValue ( $value ) : null | string
$value
Résultat null | string

key() public méthode

public key ( )

next() public méthode

public next ( )

rewind() public méthode

public rewind ( )

setDateTimeFormat() public méthode

public setDateTimeFormat ( string $dateTimeFormat )
$dateTimeFormat string

valid() public méthode

public valid ( )

Property Details

$collection protected_oe property

protected PropelCollection $collection
Résultat PropelCollection

$dateTimeFormat protected_oe property

default DateTime format
protected $dateTimeFormat

$iterator protected_oe property

protected ArrayIterator $iterator
Résultat ArrayIterator

$propertyAccessor protected_oe property

protected PropertyAccess,Symfony\Component\PropertyAccess $propertyAccessor
Résultat Symfony\Component\PropertyAccess\PropertyAccess

$propertyPaths protected_oe property

protected array $propertyPaths
Résultat array