HTML_QuickForm_select::addOption()

HTML_QuickForm_select::addOption() – Adds a new OPTION to the 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

Display text for the OPTION

string $value

Value for the OPTION

mixed $attributes

Either a typical HTML attribute string or an associative array

Throws

throws no exceptions thrown

Note

since 1.0

This function can not be called statically.

Class constructor (Previous) Returns the select mutiple attribute (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.