Class SimpleSubmitTag

Description

Submit button as input tag.

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

SimpleTag
   |
   --SimpleWidget
      |
      --SimpleSubmitTag
Method Summary
 SimpleSubmitTag SimpleSubmitTag (hash $attributes)
 boolean expectEndTag ()
 string getLabel ()
 array getSubmitValues ()
 boolean setValue (string $value)
Variables
Methods
Constructor SimpleSubmitTag (line 318)

Starts with a named tag with attributes only.

SimpleSubmitTag SimpleSubmitTag (hash $attributes)
  • hash $attributes: Attribute names and string values.
expectEndTag (line 333)

Tag contains no end element.

  • 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.
getLabel (line 352)

Value of browser visible text.

  • return: Visible label.
  • access: public
string getLabel ()
getSubmitValues (line 361)

Gets the values submitted as a form.

  • return: Hash of name and values.
  • access: public
array getSubmitValues ()
setValue (line 343)

Disables the setting of the button value.

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