$element->setOptions()

$element->setOptions()

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

Description

Used with HTML Selects, to fill in the options available

Parameter

  • $array the options to appear.

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

Throws

throws no exceptions thrown

Note

This function can not be called statically.

© Copyright 2003-2014 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.