$element->setOptions()

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

Opis

Used with HTML Selects, to fill in the options available

Parametr

  • $array the options to appear.

  • $noValue dont use the keys from the array sent as the value= part of the option tag.

Wyjątki

throws no exceptions thrown

Uwagi

Ta funkcja nie może być wywołana statycznie.