Class SimpleTextTag

Description

Text, password and hidden field.

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

SimpleTag
   |
   --SimpleWidget
      |
      --SimpleTextTag
Method Summary
 SimpleTextTag SimpleTextTag (hash $attributes)
 boolean expectEndTag ()
 boolean setValue (string $value)
Variables
Methods
Constructor SimpleTextTag (line 275)

Starts with a named tag with attributes only.

SimpleTextTag SimpleTextTag (hash $attributes)
  • hash $attributes: Attribute names and string values.
expectEndTag (line 287)

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.
setValue (line 298)

Sets the current form element value. Cannot change the value of a hidden field.

  • 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::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, 11 Feb 2005 18:14:15 +0000 by phpDocumentor 1.3.0RC3