\Thelia\Core\Template\ElementLoopResult

Summary

Methods
Properties
Constants
__construct()
isEmpty()
addRow()
getCount()
current()
next()
key()
valid()
rewind()
No public properties found
No constants found
No protected methods found
$collection
N/A
No private methods found
$position
N/A

Properties

$collection

$collection

$position

$position

Methods

__construct()

__construct()

isEmpty()

isEmpty()

getCount()

getCount()

next()

next() : void

(PHP 5 &gt;= 5.0.0)<br/> Move forward to next element

key()

key() : mixed

(PHP 5 &gt;= 5.0.0)<br/> Return the key of the current element

Returns

mixed —

scalar on success, or null on failure.

valid()

valid() : boolean

(PHP 5 &gt;= 5.0.0)<br/> Checks if current position is valid

Returns

boolean —

The return value will be casted to boolean and then evaluated. Returns true on success or false on failure.

rewind()

rewind() : void

(PHP 5 &gt;= 5.0.0)<br/> Rewind the Iterator to the first element