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

Class SimpleSubmitTag

Description

Submit button as input tag.

Located in /sapphire/dev/simpletest/tag.php (line 383)

SimpleTag
   |
   --SimpleWidget
      |
      --SimpleSubmitTag
Method Summary
SimpleSubmitTag SimpleSubmitTag (hash $attributes)
boolean expectEndTag ()
string getLabel ()
boolean isLabel (string $label)
boolean setValue (string $value)
Variables
Methods
Constructor SimpleSubmitTag (line 390)

Starts with a named tag with attributes only.

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

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 421)

Value of browser visible text.

  • return: Visible label.
  • access: public
string getLabel ()
isLabel (line 431)

Test for a label match when searching.

  • return: True on match.
  • access: public
boolean isLabel (string $label)
  • string $label: Label to test.

Redefinition of:
SimpleWidget::isLabel()
Reads external or internal label.
setValue (line 412)

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::isLabel()
SimpleWidget::resetValue()
SimpleWidget::setLabel()
SimpleWidget::setValue()
SimpleWidget::write()

Inherited From SimpleTag

SimpleTag::SimpleTag()
SimpleTag::addContent()
SimpleTag::addTag()
SimpleTag::expectEndTag()
SimpleTag::getAttribute()
SimpleTag::getChildElements()
SimpleTag::getContent()
SimpleTag::getTagName()
SimpleTag::getText()
SimpleTag::isId()
SimpleTag::isPrivateContent()
SimpleTag::_setAttribute()
blog comments powered by Disqus

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