previousconstructor HTML_QuickForm_select() (Previous) (Next) HTML_QuickForm_select::getMultiple()next

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTML_QuickForm_select::addOption()

HTML_QuickForm_select::addOption() – Ajoute une nouvelle OPTION au SELECT

Synopsis

require_once 'HTML/QuickForm/select.php';

void HTML_QuickForm_select::addOption ( string $text , string $value , mixed $attributes = = null )

Description

This package is not documented yet.

Parameter

string $text

Texte à afficher pour l'OPTION

string $value

Valeur pour l'OPTION

mixed $attributes

Soit un attribut HTML typique, soit un tableau associatif

Throws

No exceptions thrown.

Note

Disponible depuis la version 1.0.

This function can not be called statically.

previousconstructor HTML_QuickForm_select() (Previous) (Next) HTML_QuickForm_select::getMultiple()next

Download Documentation Last updated: Sun, 18 Oct 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.