lithium\template\helper\Form::text PHP Method

text() public method

Generates an HTML object.
public text ( string $name, array $options = [] ) : string
$name string The name of the field.
$options array All options passed are rendered as HTML attributes.
return string Returns a `` tag with the given name and HTML attributes.
    public function text($name, array $options = array())
    {
        list($name, $options, $template) = $this->_defaults(__FUNCTION__, $name, $options);
        return $this->_render(__METHOD__, $template, compact('name', 'options'));
    }