Omeka_View_Helper_FormInput
Package: View\Helper
- class Omeka_View_Helper_FormInput
extends Zend_View_Helper_FormElement
Helper for generic HTML5 input with settable type.
- Omeka_View_Helper_FormInput::formInput($name, $value = null, $attribs = null)
Generate an input element.
- Parameters:
$name (
string|array
) – If a string, the element name. If an array, all other parameters are ignored, and the array elements are used in place of added parameters.$value (
mixed
) – The element value.$attribs (
array
) – Attributes for the element tag.- Returns:
string The element XHTML.