XOOPS  2.6.0
index.php File Reference

Go to the source code of this file.

Namespaces

 core
 

Variables

 $action = Request::getCmd('action', 'search')
 
 $andor = Request::getWord('andor', 'AND')
 
 $available_modules = $gperm_handler->getItemIds('module_read', $xoops->getUserGroups())
 
 $available_plugins = \Xoops\Module\Plugin::getPlugins('search')
 
if($action== 'search') if($andor!="OR"&&$andor!="exact"&&$andor!="AND") $ignored_queries = array()
 
 $mid = Request::getInt('mid', 0)
 
 $mids = Request::getArray('mids', array())
 
 $myts = MyTextSanitizer::getInstance()
 
 $queries = array()
 
 $queries_pattern = array()
 
 $query = Request::getString('query', '')
 
 $search = Search::getInstance()
 
 $start = Request::getInt('start', 0)
 
 $uid = Request::getInt('uid', 0)
 
if(!$search->getConfig('enable_search')) $xoops = Xoops::getInstance()
 
if($action=="results") else
 

Variable Documentation

$action = Request::getCmd('action', 'search')

Definition at line 36 of file index.php.

$andor = Request::getWord('andor', 'AND')

Definition at line 38 of file index.php.

Referenced by SearchSearchForm\getSearchFrom().

$available_modules = $gperm_handler->getItemIds('module_read', $xoops->getUserGroups())

Definition at line 65 of file index.php.

Referenced by b_comments_show(), and SearchSearchForm\getSearchFrom().

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

Definition at line 66 of file index.php.

if ($action== 'search') if ($andor!="OR"&&$andor!="exact"&&$andor!="AND") $ignored_queries = array()

Definition at line 82 of file index.php.

$mids = Request::getArray('mids', array())

Definition at line 42 of file index.php.

Referenced by SearchSearchForm\getSearchFrom().

Definition at line 84 of file index.php.

$queries = array()
$queries_pattern = array()

Definition at line 83 of file index.php.

$start = Request::getInt('start', 0)

Definition at line 41 of file index.php.

$uid = Request::getInt('uid', 0)

Definition at line 40 of file index.php.

if (!$search->getConfig('enable_search')) $xoops = Xoops::getInstance()

Definition at line 34 of file index.php.

if ($action=="results") else
Initial value:
{
if ($action == "showall") {
if ($query == "" || empty($mid)) {
$xoops->redirect("index.php", 1, _MD_SEARCH_PLZENTER);
}
} else {
if ($action == "showallbyuser") {
if (empty($mid) || empty($uid)) {
$xoops->redirect("index.php", 1, _MD_SEARCH_PLZENTER);
}
}
}
}
$gperm_handler = $xoops->getHandlerGroupperm()
$mid
Definition: index.php:39
$action
Definition: index.php:36
$query
Definition: index.php:37
const _MD_SEARCH_PLZENTER
Definition: main.php:20
$gperm_handler
if(!$xoops->isUser()) $uid
Definition: index.php:31
if(file_exists($mainfile)) elseif(file_exists(__DIR__. '/install/index.php')) $xoops
Definition: index.php:36

Definition at line 50 of file index.php.