Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Helper for alternating between set of values
array $_data = 'array'
Array of values
string $_name = 'self'
Actual name of cycle
array $_pointers = 'array'
Pointers
__toString(
)
:
string
Cast to string
assign(
array $data, string $name
=
self
)
:
Zend_View_Helper_Cycle
Add elements to alternate
current(
)
:
mixed
Return current element
cycle(
array $data
=
array, string $name
=
self
)
:
Zend_View_Helper_Cycle
Add elements to alternate
getAll(
)
:
array
Return all elements
getName(
)
:
string
Gets actual name of cycle
key(
)
:
int
Return iteration number
next(
)
:
Zend_View_Helper_Cycle
Move to next value
prev(
)
:
Zend_View_Helper_Cycle
Move to previous value
rewind(
)
:
Zend_View_Helper_Cycle
Rewind pointer
setName(
$name
=
self
)
:
Zend_View_Helper_Cycle
Sets actual name of cycle
toString(
)
:
string
Turn helper into string
valid(
)
:
bool
Check if element is valid