HTML_QuickForm_checkbox::setText()

HTML_QuickForm_checkbox::setText() -- Sets the checkbox text

Synopsis

require_once 'HTML/QuickForm/checkbox.php';

void HTML_QuickForm_checkbox::setText (string $text)

Beschreibung

This means the text that would be displayed with the checkbox, automatically enclosed in <label> tags. The label in QuickForm's sense is set via setLabel().

Parameter

string $text

Fehler-Meldungen

throws no exceptions thrown

Siehe auch

see getText().

Hinweise

since 1.1

Diese Methode kann nicht statisch aufgerufen werden.