Class SimpleTextTag

Description

Text, password and hidden field.

Located in /tag.php (line 447)

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

Starts with a named tag with attributes only.

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

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

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

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