HTML_QuickForm_hierselect::setSecOptions()

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

Synopsis

require_once 'HTML/QuickForm/hierselect.php';

void HTML_QuickForm_hierselect::setSecOptions (array $options)

Beschreibung

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

Fehler-Meldungen

throws no exceptions thrown

Siehe auch

see setMainOptions().

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.

Warnung

Diese Methode ist veraltet. Das bedeutet zukünftige Versionen dieses Packages müssen diese Methode nicht mehr besitzen.

Deprecated in release 3.2.2

Beispiel