|
XOOPS 2.5.6
Final
|

Public Member Functions | |
| insertBreak ($extra= '', $class= '') | |
| 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 | |
Form that will output as a theme-enabled HTML table
Also adds JavaScript to validate required fields
Definition at line 29 of file themeform.php.
| XoopsThemeForm::insertBreak | ( | $extra = '', |
|
$class = '' |
|||
| ) |
Insert an empty row in the table to serve as a seperator.
| string | $extra | HTML to be displayed in the empty row. |
| string | $class | CSS class name for |
tag
Definition at line 37 of file themeform.php.
| XoopsThemeForm::render | ( | ) |
create HTML to output the form as a theme-enabled table with validation.
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 );
Definition at line 63 of file themeform.php.
References $ret.