extends |
XoopsForm |
---|
Form that will output as a theme-enabled HTML table
Also adds JavaScript to validate required fields
Methods | |||||||
---|---|---|---|---|---|---|---|
public
|
insertBreak(string $extra = '', string $class = '')
Insert an empty row in the table to serve as a separator.
Insert an empty row in the table to serve as a separator. Parameters
Overrides |
# | |||||
public
|
render(): string
create HTML to output the form as a theme-enabled table with validation.
create HTML to output the form as a theme-enabled table with validation. YOU SHOULD AVOID THE 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 ); Overrides |
# |
Properties inherited from XoopsForm |
---|
$_action, $_method, $_name, $_title, $_summary, $_elements, $_class, $_extra, $_required, $_objid |