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

HTML_QuickForm_checkbox::setChecked()

Вернуться к: Standard HTML elements

HTML_QuickForm_checkbox::setChecked()

HTML_QuickForm_checkbox::setChecked() – Sets whether a checkbox is checked

Synopsis

require_once 'HTML/QuickForm/checkbox.php';

void HTML_QuickForm_checkbox::setChecked ( bool $checked )

This sets or removes the element's "checked" attribute based on $checked value. setValue() is an alias for this method.

Parameter

boolean $checked

Whether the field is checked or not

Throws

throws no exceptions thrown

See

see getChecked().

Note

since 1.0

This function can not be called statically.



Вернуться к: Standard HTML elements

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