Methods
Add instance class to plugin map
addClass(string $class, string $plugin) : \Zend\Form\View\Helper\self
Parameters
$class
string
$plugin
string
Returns
\Zend\Form\View\Helper\self
Add form element type to plugin map
addType(string $type, string $plugin) : \Zend\Form\View\Helper\self
Parameters
$type
string
$plugin
string
Returns
\Zend\Form\View\Helper\self
Render an element
render(\Zend\Form\ElementInterface $element) : string
Introspects the element type and attributes to determine which
helper to utilize when rendering.
Parameters
Returns
string
Set default helper name
setDefaultHelper(string $name) : \Zend\Form\View\Helper\self
Parameters
$name
string
Returns
\Zend\Form\View\Helper\self
Set the View object
setView(\Zend\View\Renderer\RendererInterface $view) : \Zend\View\Helper\AbstractHelper
Inherited
inherited_from |
\Zend\View\Helper\AbstractHelper::setView() |
Parameters
Returns
Render element by helper name
renderHelper(string $name, \Zend\Form\ElementInterface $element) : string
Parameters
$name
string
Returns
string
Render element by instance map
renderInstance(\Zend\Form\ElementInterface $element) : string | null
Parameters
Returns
string
null
Render element by type map
renderType(\Zend\Form\ElementInterface $element) : string | null
Parameters
Returns
string
null
Properties
Instance map to view helper
$classMap : array
Default helper name
$defaultHelper : string
Type map to view helper
$typeMap : array
Constants
DEFAULT_HELPER
DEFAULT_HELPER