LoopImplementation
class LoopImplementation extends MapImplementation (View source)
Render a Fusion collection of using the itemRenderer
//fusionPath items *Collection //fusionPath itemRenderer the Fusion object which is triggered for each element in the node collection
Properties
protected Runtime | $runtime | from AbstractFusionObject | |
protected string | $path | The Fusion path currently being rendered |
from AbstractFusionObject |
protected string | $fusionObjectName | Name of this Fusion object, like Neos.Neos:Text |
from AbstractFusionObject |
protected array | $tsValueCache | from AbstractFusionObject | |
protected int | $numberOfRenderedNodes | The number of rendered nodes, filled only after evaluate() was called. |
from MapImplementation |
Methods
Evaluate the collection nodes
Return the Fusion value relative to this Fusion object (with processors etc applied).
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
If set iteration data (index, cycle, isFirst, isLast) is available in context with the name given.
Get the glue to insert between items
Details
__construct(Runtime $runtime, string $path, string $fusionObjectName)
Constructor
mixed
evaluate()
Evaluate the collection nodes
Runtime
getRuntime()
Get the Fusion runtime this object was created in.
protected mixed
fusionValue(string $path)
Return the Fusion value relative to this Fusion object (with processors etc applied).
Note that subsequent calls of tsValue() with the same Fusion path will return the same values since the first evaluated value will be cached in memory.
bool
offsetExists(mixed $offset)
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
mixed
offsetGet(mixed $offset)
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
void
offsetSet(mixed $offset, mixed $value)
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
void
offsetUnset(mixed $offset)
Dummy implementation of ArrayAccess to allow this.XXX access in processors.
array
getItems()
No description
string
getItemName()
No description
string
getItemKey()
No description
string
getIterationName()
If set iteration data (index, cycle, isFirst, isLast) is available in context with the name given.
protected array
prepareIterationInformation(int $collectionCount)
No description
string
getGlue()
Get the glue to insert between items