HTML_QuickForm_element::setLabel()

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

Synopsis

require_once 'HTML/QuickForm/element.php';

void HTML_QuickForm_element::setLabel (mixed $label)

Beschreibung

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

Parameter

mixed $label

Display text for the element

Fehler-Meldungen

throws no exceptions thrown

Siehe auch

see getLabel().

Hinweise

since 1.3

Diese Methode kann nicht statisch aufgerufen werden.