TKTextArea Class Reference
[Form Elements]

Represents a form text area (multiple text editing widget). More...

Inheritance diagram for TKTextArea:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($name, $value="", $rows=-1, $cols=-1)
 Creates a new text area.

Static Public Member Functions

static createFromXML ($attrs, $contents, $node)

Protected Member Functions

 renderComponent ($class, $style, $events, $id)


Detailed Description

Represents a form text area (multiple text editing widget).

Properties:
  • rows numeric: number of rows in text area, or -1 for default
  • cols numeric: number of columns in text area, or -1 for default

Definition at line 12 of file TKTextArea.php5.


Constructor & Destructor Documentation

TKTextArea::__construct ( name,
value = "",
rows = -1,
cols = -1 
)

Creates a new text area.

Parameters:
$name [string]: form element name
$value [string]: initial value of text area (contents of text area)
$rows [numeric]: number of rows, or -1 for default
$cols [numeric]: number of columns, or -1 for default

Definition at line 21 of file TKTextArea.php5.

References TKComponent::addProperty().


Member Function Documentation

static TKTextArea::createFromXML ( attrs,
contents,
node 
) [static]

For internal use only.

Reimplemented from TKFormElement.

Definition at line 54 of file TKTextArea.php5.

TKTextArea::renderComponent ( class,
style,
events,
id 
) [protected]

For internal use only.

Reimplemented from TKComponent.

Definition at line 32 of file TKTextArea.php5.

References TKFormElement::getStandardProperties().


The documentation for this class was generated from the following file:

Generated on Wed Nov 24 02:07:17 2010 for Common by  doxygen 1.5.6