PHP Class Neos\Fusion\TypoScriptObjects\AbstractCollectionImplementation

Inheritance: extends AbstractTypoScriptObject
Mostrar archivo Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Property Type Description
$numberOfRenderedNodes integer The number of rendered nodes, filled only after evaluate() was called.

Public Methods

Method 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.

Protected Methods

Method Description
prepareIterationInformation ( integer $collectionCount ) : array

Method Details

evaluate() public method

Evaluate the collection nodes as concatenated string
public evaluate ( ) : string
return string

evaluateAsArray() public method

Evaluate the collection nodes as array
public evaluateAsArray ( ) : array
return array

getCollection() public method

Render the array collection by triggering the itemRenderer for every element
public getCollection ( ) : array
return array

getItemKey() public method

public getItemKey ( ) : string
return string

getItemName() public method

public getItemName ( ) : string
return string

getIterationName() public method

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

prepareIterationInformation() protected method

protected prepareIterationInformation ( integer $collectionCount ) : array
$collectionCount integer
return array

Property Details

$numberOfRenderedNodes protected_oe property

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