Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 20554 программиста и 979 роботов. Сейчас ищут 867 программистов ...

$element->setValue()

Вернуться к: HTML_Template_Flexy

$element->setValue()

$element->setValue() – Utility function to set or store values from common tag types.

Synopsis

$element->setValue ( mixed $value )

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

Parameter

  • $value The value to assign a form element, (use arrays for multiple selects or checkbox groups)

Throws

throws no exceptions thrown

Note

This function can not be called statically.



Вернуться к: HTML_Template_Flexy

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware