XOOPS  2.6.0
Xoops\Form\SimpleForm Class Reference
Inheritance diagram for Xoops\Form\SimpleForm:
Inheritance graph

Public Member Functions

 insertBreak ($extra= '', $class= '')
 
 render ()
 
- Public Member Functions inherited from Xoops\Form\Form
 __construct ($title, $name, $action, $method= 'post', $addtoken=false, $display= '')
 
 addElement (Element $formElement, $required=false)
 
 assign (\XoopsTpl $tpl)
 
 display ()
 
 getAction ($encode=true)
 
 getDisplay ($encode=false)
 
 getElementByName ($name)
 
 getElementNames ()
 
 getElements ($recurse=false)
 
 getElementValue ($name, $encode=false)
 
 getElementValues ($encode=false)
 
 getExtra ()
 
 getMethod ()
 
 getName ($encode=true)
 
 getRequired ()
 
 getTitle ($encode=false)
 
 render ()
 
 renderValidationJS ($withtags=true)
 
 setAction ($value= '')
 
 setElementValue ($name, $value)
 
 setElementValues ($values)
 
 setExtra ($extra)
 
 setRequired (Element $formElement)
 
 setSummary ($summary)
 
 setTitle ($title)
 

Detailed Description

Definition at line 25 of file SimpleForm.php.

Member Function Documentation

Xoops\Form\SimpleForm::insertBreak (   $extra = '',
  $class = '' 
)

Insert an empty row in the table to serve as a separator.

Parameters
string$extranot in use.
string$classnot in use
Returns
void

Definition at line 35 of file SimpleForm.php.

References Xoops\Form\Form\$extra, and Xoops\Form\Form\addElement().

Here is the call graph for this function:

Xoops\Form\SimpleForm::render ( )

create HTML to output the form with minimal formatting

Returns
string

Definition at line 48 of file SimpleForm.php.

References Xoops\Form\Form\getAction(), Xoops\Form\Form\getElements(), Xoops\Form\Form\getExtra(), Xoops\Form\Form\getMethod(), Xoops\Form\Form\getName(), and Xoops\Form\Form\getTitle().

Here is the call graph for this function:


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