Class SimpleImageSubmitTag

Description

Image button as input tag.

Located in /tag.php (line 548)

SimpleTag
   |
   --SimpleWidget
      |
      --SimpleImageSubmitTag
Method Summary
 SimpleImageSubmitTag __construct (hash $attributes)
 boolean expectEndTag ()
 string getLabel ()
 boolean isLabel (string $label)
 boolean setValue (string $value)
 void write (SimpleEncoding $encoding, [integer $x = 1], [integer $y = 1])
Methods
Constructor __construct (line 555)

Starts with a named tag with attributes only.

SimpleImageSubmitTag __construct (hash $attributes)
  • hash $attributes: Attribute names and string values.

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

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

Value of browser visible text.

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

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

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.
write (line 607)

Dispatches the value into the form encoded packet.

  • access: public
void write (SimpleEncoding $encoding, [integer $x = 1], [integer $y = 1])
  • SimpleEncoding $encoding: Form packet.
  • integer $x: X coordinate of click.
  • integer $y: Y coordinate of click.

Redefinition of:
SimpleWidget::write()
Dispatches the value into the form encoded packet.

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:36 -0500 by phpDocumentor 1.4.3