XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
sampleform.inc.php File Reference

Go to the source code of this file.

Namespaces

namespace  class
 

Variables

 $editor = ! empty($_REQUEST['editor']) ? $_REQUEST['editor'] : ''
 
 $options ['editor'] = $editor
 
 $options ['name'] = 'required_element'
 
 $options ['value'] = empty($_REQUEST['message']) ? "" : $_REQUEST['message']
 
 $options ['rows'] = 25
 
 $options ['cols'] = 60
 
 $options ['width'] = '100%'
 
 $options ['height'] = '400px'
 
 $sample_form = new XoopsThemeForm('', 'sample_form', 'action.php')
 
if(!empty($editor)) else
 

Variable Documentation

$editor = ! empty($_REQUEST['editor']) ? $_REQUEST['editor'] : ''
$options['name'] = 'required_element'

Definition at line 42 of file sampleform.inc.php.

$options['value'] = empty($_REQUEST['message']) ? "" : $_REQUEST['message']

Definition at line 43 of file sampleform.inc.php.

$options['rows'] = 25

Definition at line 45 of file sampleform.inc.php.

$options['cols'] = 60

Definition at line 46 of file sampleform.inc.php.

$options['width'] = '100%'

Definition at line 47 of file sampleform.inc.php.

$options['height'] = '400px'

Definition at line 48 of file sampleform.inc.php.

$sample_form = new XoopsThemeForm('', 'sample_form', 'action.php')

Edit form with selected editor

Definition at line 25 of file sampleform.inc.php.

if (!empty($editor)) else
Initial value:
{
if (is_object($xoopsUser)) {
$editor = @ $xoopsUser->getVar('editor');
}
$sample_form->addElement(new XoopsFormSelectEditor($sample_form, 'editor', $editor, $noHtml = false))

Definition at line 31 of file sampleform.inc.php.