HTML_QuickForm_select::addOption()

HTML_QuickForm_select::addOption() – SELECT に新しい OPTION を追加する

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

OPTION の表示用テキスト。

string $value

OPTION の値。

mixed $attributes

典型的な HTML 属性の文字列あるいは連想配列。

Throws

例外はスローされません。

Note

since 1.0

This function can not be called statically.