Helper for ordered and unordered lists
uses | |
---|---|
category | Zend |
package | Zend_View |
subpackage | Helper |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_View_Helper_FormElement |
direct() : void
inherited_from | \Zend_View_Helper_Interface::direct() |
---|
getClosingBracket() : string
string
getTranslator() : \Zend_Translate_Adapter | null
\Zend_Translate_Adapter
null
htmlList(array $items, boolean $ordered= false
, array $attribs= false
, $escape= true
) : string
array
Array with the elements of the list
boolean
Specifies ordered/unordered list; default unordered
array
Attributes for the ol/ul tag.
string
The list XHTML.setTranslator(\Zend_Translate|\Zend_Translate_Adapter|null $translator = null
) : \Zend_View_Helper_FormElement
\Zend_Translate
\Zend_Translate_Adapter
null
\Zend_View_Helper_FormElement
setView(\Zend_View_Interface $view) : \Zend_View_Helper_Abstract
inherited_from | \Zend_View_Helper_Interface::setView() |
---|
\Zend_View_Interface
\Zend_View_Helper_Abstract
_getInfo($name, $value= null
, $attribs= null
, $options= null
, $listsep= null
) : array
E.g, formExample($name, $value, $attribs, $options, $listsep) is the same thing as formExample(array('name' => ...)).
Note that you cannot pass a 'disable' param; you need to pass it as an 'attribs' key.
access | protected |
---|
array
An element info array with keys for name, value,
attribs, options, listsep, disable, and escape._hidden(string $name, string $value= null
, array $attribs= null
) : string
We have this as a common method because other elements often need hidden elements for their operation.
access | protected |
---|
string
The element name.
string
The element value.
array
Attributes for the element.
string
A hidden element._htmlAttribs(array $attribs) : string
access | public |
---|
array
From this array, each key-value pair is converted to an attribute name and value.
string
The XHTML for the attributes._isHtml5() : boolean
boolean
_isStrictDoctype() : boolean
boolean
_isXhtml() : boolean
boolean
_normalizeId(string $value) : string
string
string
$view : \Zend_View_Interface
null
$_closingBracket : string
null
$_translator : \Zend_Translate_Adapter | null
EOL = "\n"