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.
Замечание: This method makes sense only with the elements that actually are editable in the first place. It has no effect on buttons, images, hidden fields, static content and the like.
see unfreeze(), isFrozen(), setPersistantFreeze(), getFrozenHtml(), HTML_QuickForm::freeze(), HTML_QuickForm::isFrozen().
Пример 42-1. Freezing the text element
|
Пример 42-2. Output
|
Пред. | Начало | След. |
HTML_QuickForm_element::exportValue() | Уровень выше | HTML_QuickForm_element::getFrozenHtml() |
HIVE: All information for read only. Please respect copyright! |