Comments: on this page. Click to read or post your own.

Class SimpleRadioGroup

Description

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

Used for radio buttons.

Located in /sapphire/dev/simpletest/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()
blog comments powered by Disqus

Documentation generated on Sun, 19 Oct 2008 06:46:48 +1300 by phpDocumentor 1.3.2