XOOPS  2.6.0
main.php File Reference

Go to the source code of this file.

Namespaces

 comments
 

Variables

 $admin_page = new \Xoops\Module\Admin()
 
 $available_plugins = \Xoops\Module\Plugin::getPlugins('comments')
 
 $comment_handler = $helper->getHandlerComment()
 
 $comments = array()
 
 $helper = Comments::getInstance()
 
 $limit_array = array(20, 50, 100)
 
 $module = !isset($_REQUEST['module']) ? 0 : intval($_REQUEST['module'])
 
if(!empty($available_plugins)) $module_array [0] = _AM_COMMENTS_FORM_ALL_MODS
 
 $module_handler = $xoops->getHandlerModule()
 
 $modules_array = array()
 
 $op = $system->cleanVars($_REQUEST, 'op', 'default', 'string')
 
 $start = 0
 
 $status
 
 $status_array
 
 $status_array [0] = _AM_COMMENTS_FORM_ALL_STATUS
 
 $status_array2
 
 $system = System::getInstance()
 
 $xoops = Xoops::getInstance()
 

Variable Documentation

$admin_page = new \Xoops\Module\Admin()

Definition at line 34 of file main.php.

Referenced by b_system_main_edit().

$available_plugins = \Xoops\Module\Plugin::getPlugins('comments')

Definition at line 56 of file main.php.

Referenced by SearchSearchForm\getSearchFrom().

$comment_handler = $helper->getHandlerComment()
$helper = Comments::getInstance()

Definition at line 27 of file main.php.

$limit_array = array(20, 50, 100)

Definition at line 37 of file main.php.

$module = !isset($_REQUEST['module']) ? 0 : intval($_REQUEST['module'])
if (!empty($available_plugins)) $module_array[0] = _AM_COMMENTS_FORM_ALL_MODS

Definition at line 62 of file main.php.

Referenced by SearchSearchForm\getSearchFrom().

$modules_array = array()

Definition at line 54 of file main.php.

Referenced by Xoops\setActiveModules().

$op = $system->cleanVars($_REQUEST, 'op', 'default', 'string')

Definition at line 30 of file main.php.

$start = 0

Definition at line 45 of file main.php.

$status
Initial value:
= (!isset($_REQUEST['status']) || !in_array(intval($_REQUEST['status']), array_keys($status_array))) ? 0
: intval($_REQUEST['status'])
$status_array
Definition: main.php:38

Definition at line 49 of file main.php.

$status_array
Initial value:
=
array(COMMENTS_PENDING => _MD_COMMENTS_PENDING, COMMENTS_ACTIVE => _MD_COMMENTS_ACTIVE, COMMENTS_HIDDEN => _MD_COMMENTS_HIDDEN)
const _MD_COMMENTS_ACTIVE
Definition: main.php:28
const _MD_COMMENTS_PENDING
Definition: main.php:26
const _MD_COMMENTS_HIDDEN
Definition: main.php:27

Definition at line 38 of file main.php.

$status_array[0] = _AM_COMMENTS_FORM_ALL_STATUS

Definition at line 46 of file main.php.

$status_array2
Initial value:
= array(
COMMENTS_PENDING => '<span style="text-decoration: none; font-weight: bold; color: #008000;">' . _MD_COMMENTS_PENDING . '</span>',
COMMENTS_ACTIVE => '<span style="text-decoration: none; font-weight: bold; color: #ff0000;">' . _MD_COMMENTS_ACTIVE . '</span>',
COMMENTS_HIDDEN => '<span style="text-decoration: none; font-weight: bold; color: #0000ff;">' . _MD_COMMENTS_HIDDEN . '</span>'
)
const _MD_COMMENTS_ACTIVE
Definition: main.php:28
const _MD_COMMENTS_PENDING
Definition: main.php:26
const _MD_COMMENTS_HIDDEN
Definition: main.php:27

Definition at line 40 of file main.php.

$system = System::getInstance()

Definition at line 26 of file main.php.

Referenced by b_system_main_edit().

$xoops = Xoops::getInstance()

Definition at line 25 of file main.php.

Referenced by b_system_main_edit(), and b_system_main_show().