Class TFormHidden

Description

Basic Hidden Field

  • version: 03-08-2002 12:00
  • author: Greg MacLellan

Located in /form-hidden.inc.php (line 12)

TFormElement
   |
   --TFormHidden
Variable Summary
mixed $htmltype
mixed $required
mixed $type
Method Summary
TFormHidden TFormHidden (string $name, bool $required, [string $value = ""], [bool $store = true])
void output ()
void validate ()
Variables
mixed $htmltype = "hidden" (line 17)

The HTML element type


Redefinition of:
TFormElement::$htmltype
The HTML element type
mixed $required (line 13)
mixed $type = "hidden" (line 15)

The type of element


Redefinition of:
TFormElement::$type
The type of element

Inherited Variables

Inherited from TFormElement

TFormElement::$alwaysSet
TFormElement::$class
TFormElement::$displayname
TFormElement::$name
TFormElement::$parent
TFormElement::$store
TFormElement::$value
Methods
Constructor TFormHidden (line 33)

Creates a new TFormHidden element (basic hidden field).

TFormHidden TFormHidden (string $name, bool $required, [string $value = ""], [bool $store = true])
  • string $name: The name of the element. This should correspond to the field names if using with TDBForm, and should not include any spaces or special characters.
  • bool $required: True if the field has to be filled in
  • string $value: The initial value for the field. Note if using a TDBForm this value will be overridden by loadValues so it is effectively only the default for new entries.
  • bool $store: Whether this value is persistent. Used by TDBForm to decide to save/load this value from database.
output (line 48)
void output ()

Redefinition of:
TFormElement::output()
Outputs the HTML for this tag
validate (line 40)
void validate ()

Redefinition of:
TFormElement::validate()
Validates the data in this field.

Inherited Methods

Inherited From TFormElement

TFormElement::TFormElement()
TFormElement::getValue()
TFormElement::output()
TFormElement::setParent()
TFormElement::setValue()
TFormElement::validate()

Documentation generated on Thu, 27 Nov 2003 14:58:55 -0500 by phpDocumentor 1.2.3