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


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


Used with HTML Selects, to fill in the options available


  • $array the options to appear.

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


throws no exceptions thrown


This function can not be called statically.

Utility function to set or store values from common tag types. (Previous) Removes an attributes (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.