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
$name
The name of the hidden field
$value
The value it should take. If you omit this, it will default to the value for the field returned by the request()
function.
$htmlId
If set, the field element will have a DOM id of this value.
$type
From 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.