Class SimpleRadioButtonTag

Description

Radio button.

Located in /tag.php (line 1051)

SimpleTag
   |
   --SimpleWidget
      |
      --SimpleRadioButtonTag
Method Summary
 SimpleRadioButtonTag __construct (array $attributes)
 boolean expectEndTag ()
 string getDefault ()
 boolean setValue (string $value)
Methods
Constructor __construct (line 1057)

Stashes the attributes.

SimpleRadioButtonTag __construct (array $attributes)
  • array $attributes: Hash of attributes.

Redefinition of:
SimpleWidget::__construct()
Starts with a named tag with attributes only.
expectEndTag (line 1069)

Tag contains no content.

  • return: False.
  • access: public
boolean expectEndTag ()

Redefinition of:
SimpleTag::expectEndTag()
Check to see if the tag can have both start and end tags with content in between.
getDefault (line 1095)

Accessor for starting value.

  • return: Parsed value.
  • access: public
string getDefault ()

Redefinition of:
SimpleWidget::getDefault()
Accessor for default value parsed with the tag.
setValue (line 1080)

The only allowed value sn the one in the "value" attribute.

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

Redefinition of:
SimpleWidget::setValue()
Sets the current form element value.

Inherited Methods

Inherited From SimpleWidget

 SimpleWidget::__construct()
 SimpleWidget::getDefault()
 SimpleWidget::getName()
 SimpleWidget::getValue()
 SimpleWidget::isLabel()
 SimpleWidget::resetValue()
 SimpleWidget::setLabel()
 SimpleWidget::setValue()
 SimpleWidget::write()

Inherited From SimpleTag

 SimpleTag::__construct()
 SimpleTag::addContent()
 SimpleTag::addTag()
 SimpleTag::addTags()
 SimpleTag::expectEndTag()
 SimpleTag::getAttribute()
 SimpleTag::getChildElements()
 SimpleTag::getContent()
 SimpleTag::getTagName()
 SimpleTag::getText()
 SimpleTag::isId()
 SimpleTag::isPrivateContent()
 SimpleTag::setAttribute()

Documentation generated on Sun, 31 Oct 2010 16:32:37 -0500 by phpDocumentor 1.4.3