Class SimpleRadioGroup

Description

A group of tags with the same name within a form.

Used for radio buttons.

Located in /tag.php (line 1276)

SimpleTagGroup
   |
   --SimpleRadioGroup
Method Summary
 string/boolean getDefault ()
 string/boolean getValue ()
 boolean setValue (string $value)
Variables

Inherited Variables

Inherited from SimpleTagGroup

SimpleTagGroup::$_widgets
Methods
getDefault (line 1339)

Accessor for starting value that is active.

  • return: Value of first checked widget or false if none.
  • access: public
string/boolean getDefault ()
getValue (line 1323)

Accessor for current selected widget or false if none.

  • return: Value attribute or content of opton.
  • access: public
string/boolean getValue ()
setValue (line 1286)

Each tag is tried in turn until one is successfully set. The others will be unchecked if successful.

  • return: True if any allowed.
  • access: public
boolean setValue (string $value)
  • string $value: New value.

Inherited Methods

Inherited From SimpleTagGroup

 SimpleTagGroup::addWidget()
 SimpleTagGroup::getAttribute()
 SimpleTagGroup::getName()
 SimpleTagGroup::isId()
 SimpleTagGroup::isLabel()
 SimpleTagGroup::write()
 SimpleTagGroup::_getWidgets()

Documentation generated on Sun, 04 May 2008 09:22:15 -0500 by phpDocumentor 1.3.0