STPHPObject | --STPHPComponent | --STPHPForm
Located in File: Program_Root/stphpform.php
stphplib
Roberto Gerola <roberto.gerola@speedtech.it>
0.8
Class Variable Summary |
$variables
The list of variables of a form (input type=hidden elements) Default Value:
|
Inherited Class Variable Summary | |||||||||||||||
Inherited From Class STPHPComponent
|
|||||||||||||||
Inherited From Class STPHPObject
|
Inherited Method Summary | ||||||||||||||||||||||||||||||||||||||
Inherited From Class STPHPComponent
|
||||||||||||||||||||||||||||||||||||||
Inherited From Class STPHPObject
|
Method Summary |
STPHPForm constructor STPHPForm ( $name )
Creates the object |
void addVariable ( $variable, [$value = ''] )
Adds a variable inside FORM tag |
void dtor ( )
Destructor |
string write ( )
Designs the object at runtime |
Variable Detail |
private
Method Detail |
STPHPForm constructor STPHPForm ( $name )
Creates the object- string $name: the name of the form used in NAME tag
public
void addVariable ( $variable, [$value = ''] )
Adds a variable inside FORM tag- string $variable: the name of the variable
- string $value: the name of the variables value (optional)
public
void dtor ( )
Overrides: STPHPComponent::dtor()
DestructorDestroys all the resources associated with the object
public
string write ( )
Overrides: STPHPComponent::write()
Designs the object at runtimeAvailable attributes : - VISIBLE : defines if the component must be designed or not - NAME : defines the name of the form (if empty $name of the object is used) - METHOD : defines the method for the form (GET/POST) - ACTION : defines the action for the form - TARGET : defines the target for the action - ENCTYPE : defines the content type for the form
the code that represents the object at runtime
private