HTML_QuickForm_select::load() (Previous) (Next) HTML_QuickForm_select::loadDbResult()

View this page in Last updated: Sun, 28 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

HTML_QuickForm_select::loadArray()

HTML_QuickForm_select::loadArray() -- Charge les options depuis un tableau associatif

Description

Le tableau doit avoir la forme 'valeur de l'option' => 'texte de l'option'.

Paramètres

array $arr

Tableau associatif d'options

mixed $values

(optionnel) Tableau ou chaîne séparée par une virgule de valeurs

Valeur retournée

Retourne TRUE en cas de succès.

Valeurs renvoyées

Lance une exception PEAR_Error si une erreur survient.

Voir aussi

Voir load(), addOption().

Note

Disponible depuis la version 1.0.

Cette fonction ne peut pas être appelée de façon statique.

HTML_QuickForm_select::load() (Previous) (Next) HTML_QuickForm_select::loadDbResult()

Download Documentation Last updated: Sun, 28 Sep 2008
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.