API - XOOPS 2.5.11 Beta 2
By monxoops.fr
XoopsTableForm Class Reference
Inheritance diagram for XoopsTableForm:
Collaboration diagram for XoopsTableForm:

Public Member Functions

 render ()
 
- Public Member Functions inherited from XoopsForm
 __construct ($title, $name, $action, $method='post', $addtoken=false, $summary='')
 
 XoopsForm ()
 
 getObjectID ($object, $hashinfo='sha1')
 
 getArrayID ($value, $key, $ret, $hashinfo='sha1')
 
 getSummary ($encode=false)
 
 getTitle ($encode=false)
 
 getName ($encode=true)
 
 getAction ($encode=true)
 
 getMethod ()
 
 addElement ($formElement, $required=false)
 
getElements ($recurse=false)
 
 getElementNames ()
 
getElementByName ($name)
 
 setElementValue ($name, $value)
 
 setElementValues ($values)
 
 getElementValue ($name, $encode=false)
 
 getElementValues ($encode=false)
 
 setClass ($class)
 
 setExtra ($extra)
 
 setSummary ($summary)
 
getClass ()
 
getExtra ()
 
 setRequired (XoopsFormElement $formElement)
 
getRequired ()
 
 insertBreak ($extra=null)
 
 render ()
 
 display ()
 
 renderValidationJS ($withtags=true)
 
 assign (XoopsTpl $tpl)
 

Additional Inherited Members

- Data Fields inherited from XoopsForm
 $_action
 
 $_method
 
 $_name
 
 $_title
 
 $_summary = ''
 
 $_elements = array()
 
 $_class = array()
 
 $_extra = array()
 
 $_required = array()
 
 $_objid = 'da39a3ee5e6b4b0d3255bfef95601890afd80709'
 

Detailed Description

Form that will output formatted as a HTML table

No styles and no JavaScript to check for required fields.

Member Function Documentation

◆ render()

render ( )

create HTML to output the form as a table

YOU SHOULD AVOID TO USE THE FOLLOWING Nocolspan METHOD, IT WILL BE REMOVED

To use the noColspan simply use the following example:

$colspan = new XoopsFormDhtmlTextArea( '', 'key', $value, '100', '100' ); $colspan->setNocolspan(); $form->addElement( $colspan );

Returns
string

Reimplemented from XoopsForm.

Here is the call graph for this function:

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