lithium\template\helper\Form::hidden()

public method

Generates an HTML <input type="hidden" /> object.

Parameters

  • string $name

    The name of the field.

  • array $options

    An array of HTML attributes with which the field should be rendered.

Returns

string

Returns a <input /> tag with the given name and HTML attributes.

Source

	public function hidden($name, array $options = array()) {
		list($name, $options, $template) = $this->_defaults(__FUNCTION__, $name, $options);
		return $this->_render(__METHOD__, $template, compact('name', 'options'));
	}