mixed HTML_QuickForm_advmultiselect::loadArray (
array $arr
, mixed $values
= null
)
This method overloaded parent method of select element, to allow to load array of options with fancy attributes.
$arr
Associative array of options
$values
(optional) Array or comma delimited string of selected values
returns TRUE on success
throws PEAR_Error
since version 1.5.0 (2009-02-15)
This function can not be called statically.
See HTML_QuickForm_advmultiselect::load() example.