HTML_QuickForm_radio::setText()

HTML_QuickForm_radio::setText() – Sets the radio text

Synopsis

require_once 'HTML/QuickForm/radio.php';

void HTML_QuickForm_radio::setText ( string $text )

Description

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

Parameter

string $text

Text to display near the radio button

Throws

throws no exceptions thrown

See

see getText().

Note

since 1.1

This function can not be called statically.

Sets whether radio button is checked (Previous) HTML class for a reset type element (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.