$element->setOptions()

$element->setOptions() -- Utility function equivilant to HTML_Select - loadArray **

Synopsis

$element->setOptions (mixed $array, boolean $noValue = FALSE)

Description

Used with HTML Selects, to fill in the options available

Parameter

Throws

throws no exceptions thrown

Note

This function can not be called statically.