TKForm Class Reference
[Form Elements]

Represents an HTML form. More...

Inheritance diagram for TKForm:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($action="", $method="post")
 Creates a new HTML form.

Static Public Member Functions

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

Protected Member Functions

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


Detailed Description

Represents an HTML form.

You can add any type of component to this container, although it is intended to contain elements of type TKFormElement and its descendants.

Properties:
  • action string: form action
  • method string: form method ('get' or 'post')

Definition at line 15 of file TKForm.php5.


Constructor & Destructor Documentation

TKForm::__construct ( action = "",
method = "post" 
)

Creates a new HTML form.

Parameters:
$action [string]: form action
$method [string]: form method

Definition at line 22 of file TKForm.php5.

References TKComponent::addEvent(), and TKComponent::addProperty().


Member Function Documentation

static TKForm::convertFromXML ( attrs,
contents,
node 
) [static]

For internal use only.

Definition at line 55 of file TKForm.php5.

References TKContainer::$children.

TKForm::renderContainer ( class,
style,
events,
id 
) [protected]

For internal use only.

Reimplemented from TKContainer.

Definition at line 38 of file TKForm.php5.

References TKContainer::getChildrenBySlot(), and TKComponent::render().


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

Generated on Wed Nov 24 02:06:59 2010 for Common by  doxygen 1.5.6