Helping ordinary people create extraordinary websites!


HTML_QuickForm_checkbox::setText()

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

Description

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

Throws

throws no exceptions thrown

See

see getText().

Note

since 1.1

This function can not be called statically.