XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsTableForm Class Reference
Inheritance diagram for XoopsTableForm:
Inheritance graph

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Form that will output formatted as a HTML table

No styles and no JavaScript to check for required fields.

Definition at line 29 of file tableform.php.

Member Function Documentation

XoopsTableForm::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

Definition at line 44 of file tableform.php.

References $ret.


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