Class TFormTextarea

Description

Text Area

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

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

TFormElement
   |
   --TFormTextarea
Variable Summary
mixed $cols
mixed $maxsize
mixed $required
mixed $rows
mixed $type
Method Summary
TFormTextarea TFormTextarea (string $name, string $displayname, string $class, bool $required, int $rows, int $cols, int $maxsize, [string $value = ""], [bool $store = true])
void output ()
void validate ()
Variables
mixed $cols (line 15)
mixed $maxsize (line 16)
mixed $required (line 13)
mixed $rows (line 14)
mixed $type = "textarea" (line 18)

The type of element


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

Inherited Variables

Inherited from TFormElement

TFormElement::$alwaysSet
TFormElement::$class
TFormElement::$displayname
TFormElement::$htmltype
TFormElement::$name
TFormElement::$parent
TFormElement::$store
TFormElement::$value
Methods
Constructor TFormTextarea (line 41)

Creates a new TFormTextarea element (<textarea>).

TFormTextarea TFormTextarea (string $name, string $displayname, string $class, bool $required, int $rows, int $cols, int $maxsize, [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.
  • string $displayname: The name that should show up to the user for this field.
  • string $class: The HTML Class to use for the element
  • bool $required: True if the field has to be filled in
  • int $rows: The number of rows displayed
  • int $cols: The number of columns displayed
  • int $maxsize: The maximum number of characters allowed, or
    1. for unlimited
  • 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: Weather this value is persistent. Used by TDBForm to decide to save/load this value from database.
output (line 60)
void output ()

Redefinition of:
TFormElement::output()
Outputs the HTML for this tag
validate (line 49)
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:59 -0500 by phpDocumentor 1.2.3