HTML_QuickForm::updateElementAttr() | |
PEAR Manual | |
require_once 'HTML/QuickForm/select.php'; |
mixed HTML_QuickForm_select::loadArray (
array $arr
, mixed $values = NULL
)
The array should have the form 'option value' => 'option text'.
Associative array of options
(optional) Array or comma delimited string of selected values
returns TRUE on success
throws PEAR_Error
see load(), addOption().
since 1.0
This function can not be called statically.
HTML_QuickForm::updateElementAttr() | |
PEAR Manual | |