HTML_QuickForm_element::setLabel()

HTML_QuickForm_element::setLabel() -- Sets a label for the element

概要

require_once 'HTML/QuickForm/element.php';

void HTML_QuickForm_element::setLabel (mixed $label)

説明

Label is a description text that will be displayed near the element. Some renderers can handle multiple labels for the element.

パラメータ

mixed $label

Display text for the element

例外・エラー

throws no exceptions thrown

参照

see getLabel().

注意

since 1.3

この関数は、スタティックにコールする ことはできません。