PHP Класс Neos\Fusion\TypoScriptObjects\AbstractCollectionImplementation

Наследование: extends AbstractTypoScriptObject
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$numberOfRenderedNodes integer The number of rendered nodes, filled only after evaluate() was called.

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
prepareIterationInformation ( integer $collectionCount ) : array

Описание методов

evaluate() публичный Метод

Evaluate the collection nodes as concatenated string
public evaluate ( ) : string
Результат string

evaluateAsArray() публичный Метод

Evaluate the collection nodes as array
public evaluateAsArray ( ) : array
Результат array

getCollection() публичный Метод

Render the array collection by triggering the itemRenderer for every element
public getCollection ( ) : array
Результат array

getItemKey() публичный Метод

public getItemKey ( ) : string
Результат string

getItemName() публичный Метод

public getItemName ( ) : string
Результат string

getIterationName() публичный Метод

If set iteration data (index, cycle, isFirst, isLast) is available in context with the name given.
public getIterationName ( ) : string
Результат string

prepareIterationInformation() защищенный Метод

protected prepareIterationInformation ( integer $collectionCount ) : array
$collectionCount integer
Результат array

Описание свойств

$numberOfRenderedNodes защищенное свойство

The number of rendered nodes, filled only after evaluate() was called.
protected int $numberOfRenderedNodes
Результат integer