HTML_QuickForm_element::freeze()

HTML_QuickForm_element::freeze() -- Freezes the element

Synopsis

require_once 'HTML/QuickForm/element.php';

void HTML_QuickForm_element::freeze ()

Description

When the element is displayed after the call to freeze(), only its value is displayed without the input tags, thus the element cannot be edited. If persistant freeze is set, then hidden field containing the element value will be output, too.

Throws

throws no exceptions thrown

See

see isFrozen(), setPersistantFreeze(), getFrozenHtml(), HTML_QuickForm::freeze(), HTML_QuickForm::isFrozen().

Note

This function can not be called statically.

Example