PHP Class Neos\Fusion\TypoScriptObjects\AbstractCollectionImplementation

Inheritance: extends AbstractTypoScriptObject
Afficher le fichier Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$numberOfRenderedNodes integer The number of rendered nodes, filled only after evaluate() was called.

Méthodes publiques

Méthode Description
evaluate ( ) : string Evaluate the collection nodes as concatenated string
evaluateAsArray ( ) : array Evaluate the collection nodes as array
getCollection ( ) : array Render the array collection by triggering the itemRenderer for every element
getItemKey ( ) : string
getItemName ( ) : string
getIterationName ( ) : string If set iteration data (index, cycle, isFirst, isLast) is available in context with the name given.

Méthodes protégées

Méthode Description
prepareIterationInformation ( integer $collectionCount ) : array

Method Details

evaluate() public méthode

Evaluate the collection nodes as concatenated string
public evaluate ( ) : string
Résultat string

evaluateAsArray() public méthode

Evaluate the collection nodes as array
public evaluateAsArray ( ) : array
Résultat array

getCollection() public méthode

Render the array collection by triggering the itemRenderer for every element
public getCollection ( ) : array
Résultat array

getItemKey() public méthode

public getItemKey ( ) : string
Résultat string

getItemName() public méthode

public getItemName ( ) : string
Résultat string

getIterationName() public méthode

If set iteration data (index, cycle, isFirst, isLast) is available in context with the name given.
public getIterationName ( ) : string
Résultat string

prepareIterationInformation() protected méthode

protected prepareIterationInformation ( integer $collectionCount ) : array
$collectionCount integer
Résultat array

Property Details

$numberOfRenderedNodes protected_oe property

The number of rendered nodes, filled only after evaluate() was called.
protected int $numberOfRenderedNodes
Résultat integer