Methods
Add elements to alternate
__invoke(array $data, string $name) : \Zend\View\Helper\Cycle
Parameters
$data
array
$name
string
Returns
Cast to string
__toString() : string
Add elements to alternate
assign(array $data, string $name) : \Zend\View\Helper\Cycle
Parameters
$data
array
$name
string
Returns
Return current element
current() : mixed
Return all elements
getAll() : array
Gets actual name of cycle
getName() : string
Return iteration number
key() : int
Set the View object
setView(\Zend\View\Renderer\RendererInterface $view) : \Zend\View\Helper\AbstractHelper
Inherited
inherited_from |
\Zend\View\Helper\AbstractHelper::setView() |
Parameters
Returns
Turn helper into string
toString() : string
Check if element is valid
valid() : bool
Properties
Array of values
$data : array
Actual name of cycle
$name : string
Pointers
$pointers : array
Constants
Default name
DEFAULT_NAME : string