HTML_QuickForm_hierselect::setSecOptions()

HTML_QuickForm_hierselect::setSecOptions() -- DEPRECATED: Sets the options for the secondary select

Referentiesamenvatting

require_once 'HTML/QuickForm/hierselect.php';

void HTML_QuickForm_hierselect::setSecOptions (array $options)

Beschrijving

Sets the options for the secondary select. Options are passed as a two-dimensional array, where the first key is parent id and the second key is child id, as it is needed to know the parent option to which the secondary option relates.

This method has been deprecated. Use setOptions() instead.

Parameter

array $options

Array of options for the second select

Throws

throws no exceptions thrown

Zie

see setMainOptions().

Note

Deze functie kan niet statisch worden aangeroepen.

Waarschuwing

Deze functie is deprecated. Dat betekend dat toekomstige versies van dit pakket het mischien niet meer ondersteunen.

Deprecated in release 3.2.2

Voorbeeld