XOOPS  2.6.0
sampleform.inc.php File Reference

Go to the source code of this file.

Namespaces

 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 Xoops\Form\ThemeForm('', 'sample_form', 'action.php')
 
 $xoops = Xoops::getInstance()
 
if(!empty($editor)) else
 

Variable Documentation

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

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

Referenced by FormDhtmlTextArea\__construct(), Xoops\Form\DhtmlTextArea\__construct(), XoopsEditorHandler\_loadEditor(), Xoops\Core\HttpRequest\addDetector(), SystemMenuHandler\addMenuTabsArray(), SystemMenuHandler\addMenuTopArray(), b_comments_edit(), b_comments_show(), b_system_info_edit(), b_system_info_show(), b_system_newmembers_edit(), b_system_newmembers_show(), b_system_themes_edit(), b_system_themes_show(), b_system_topposters_edit(), b_system_topposters_show(), XoopsBlock\buildBlock(), Xoops\Core\ComposerUtility\composerExecute(), XoopsFolderHandler\copy(), createConfigform(), XoopsThemeFactory\createInstance(), XoopsAdminThemeFactory\createInstance(), UserconfigsConfigHandler\deleteConfig(), XoopsConfigHandler\deleteConfig(), XoopsEditorHandler\get(), Xoops\getBanner(), Xoops\Core\Database\Factory\getConnection(), Xoops\Core\Cache\CacheManager\getDriver(), UserconfigsConfigsForm\getForm(), SystemPreferencesForm\getForm(), MaintenanceMaintenanceForm\getMaintenance(), XoopsBlock\getOptions(), Notifications\getPluginableConfigs(), Xoops\Core\Kernel\Dtype\DtypeAbstract\getVar(), Xoops\Core\Database\Schema\ImportSchema\importTables(), Xoops\Core\Kernel\XoopsObject\initVar(), UserconfigsConfigHandler\insertConfig(), XoopsConfigHandler\insertConfig(), menus_block_edit(), menus_block_show(), XoopsFolderHandler\move(), XoopsEditor\setConfig(), XoopsEditorHandler\setConfig(), Xmf\Database\Tables\setTableOptions(), smarty_function_xoblock(), Xoops\Core\Cache\CacheManager\startPoolAccess(), and xoFormFieldCollation().

$options['name'] = 'required_element'

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

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

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

$options['rows'] = 25

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

$options['cols'] = 60

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

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

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

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

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

$sample_form = new Xoops\Form\ThemeForm('', 'sample_form', 'action.php')

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

$xoops = Xoops::getInstance()

Edit form with selected editor

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

if (!empty($editor)) else
Initial value:
{
if ($xoops->isUser()) {
$editor = @ $xoops->user->getVar('editor');
}
$sample_form->addElement(new Xoops\Form\SelectEditor($sample_form, 'editor', $editor, $noHtml = false))
$xoops
$sample_form
$editor

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