Class SimpleOptionTag

Description

Option for selection field.

Located in /libraries/pear/simpletest/tag.php (line 654)

SimpleTag
   |
   --SimpleWidget
      |
      --SimpleOptionTag
Method Summary
 SimpleOptionTag SimpleOptionTag (mixed $attributes)
 string getDefault ()
 boolean setValue (string $value)
Variables
Methods
Constructor SimpleOptionTag (line 659)

Stashes the attributes.

SimpleOptionTag SimpleOptionTag (mixed $attributes)
getDefault (line 679)

Accessor for starting value. Will be set to the option label if no value exists.

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

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

Does nothing.

  • return: Not allowed.
  • access: public
boolean setValue (string $value)
  • string $value: Ignored.

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

Inherited Methods

Inherited From SimpleWidget

 SimpleWidget::SimpleWidget()
 SimpleWidget::getDefault()
 SimpleWidget::getName()
 SimpleWidget::getValue()
 SimpleWidget::resetValue()
 SimpleWidget::setValue()

Inherited From SimpleTag

 SimpleTag::SimpleTag()
 SimpleTag::addContent()
 SimpleTag::addTag()
 SimpleTag::expectEndTag()
 SimpleTag::getAttribute()
 SimpleTag::getChildElements()
 SimpleTag::getContent()
 SimpleTag::getTagName()
 SimpleTag::_keysToLowerCase()
 SimpleTag::_setAttribute()

Documentation generated on Fri, 24 Dec 2004 13:03:38 +0000 by phpDocumentor 1.3.0RC3