previous$element->setValue() (Previous) (Next) $element->removeAttributes()next

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

$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

  • $array the options to appear.

  • $noValue don't 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.

previous$element->setValue() (Previous) (Next) $element->removeAttributes()next

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.