HTML_QuickForm_checkbox::setText()

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

概要

require_once 'HTML/QuickForm/checkbox.php';

void HTML_QuickForm_checkbox::setText (string $text)

説明

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().

パラメータ

string $text

例外・エラー

throws no exceptions thrown

参照

see getText().

注意

since 1.1

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