$element->setValue()
Описание
This is used to set the values of form elements, results depend on the type of element
text,password inputs, buttons Fills in the value attribute
checkboxs / radio buttons adds a checked tag to the matching element
textarea fills in the text area content
checkbox with arrays adds checked to the matching elements
selects adds selected to the
Параметр
$value The value to assign a form element, (use arrays for multiple selects or checkbox groups)
Пред. | Начало | След. |
new HTML_Template_Flexy_Element | Уровень выше | $element->setOptions() |