XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
XoopsThemeForm Class Reference
Inheritance diagram for XoopsThemeForm:
XoopsForm

Public Member Functions

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

Additional Inherited Members

- Data Fields inherited from XoopsForm
 $_action
 
 $_method
 
 $_name
 
 $_title
 
 $_elements = []
 
 $_extra
 
 $_required = []
 

Detailed Description

Definition at line 26 of file themeform.php.

Member Function Documentation

◆ insertBreak()

insertBreak ( $extra = '',
$class = '' )

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

Parameters
string$extraHTML to be displayed in the empty row.
string$classCSS class name for

tag

Definition at line 34 of file themeform.php.

◆ render()

render ( )

create HTML to output the form as a theme-enabled table with validation.

Returns
string

Reimplemented from XoopsForm.

Definition at line 46 of file themeform.php.


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