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

password() public method

Generates an HTML object.
public password ( string $name, array $options = [] ) : string
$name string The name of the field.
$options array An array of HTML attributes with which the field should be rendered.
return string Returns a `` tag with the given name and HTML attributes.
    public function password($name, array $options = array())
    {
        list($name, $options, $template) = $this->_defaults(__FUNCTION__, $name, $options);
        unset($options['value']);
        return $this->_render(__METHOD__, $template, compact('name', 'options'));
    }