remember()public final function remember($name, $value = false, $htmlId = false, $type = 'hidden')
A shortcut function for writing hidden fields.
Can be used in methods called by plugins. From Zenario 7.0.0 onwards.
Description
$nameThe name of the hidden field
$valueThe value it should take. If you omit this, it will default to the value for the field returned by the request() function.
$htmlIdIf set, the field element will have a DOM id of this value.
$typeFrom Zenario 7.0.0, you can set the type of field by changing this parameter.
Returns the HTML for the hidden field.
echo $this->remember('id', 7);
Draws a hidden field, called id, with a value of 7.