$element->setOptions()

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

Synopsis

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

Описание

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

Замечание

This function can not be called statically.

    Поддержать сайт на родительском проекте КГБ