API - XOOPS 2.5.11 Beta 2
By monxoops.fr
admin_menu.php File Reference

Variables

if(!class_exists('ProtectorRegistry')) $registry = ProtectorRegistry::getInstance()
 
 $mydirname = $registry->getEntry('mydirname')
 
 $mydirpath = $registry->getEntry('mydirpath')
 
 $language = $registry->getEntry('language')
 
 $module_handler = xoops_getHandler('module')
 
 $xoopsModule = XoopsModule::getByDirname($mydirname)
 
 $moduleInfo = $module_handler->get($xoopsModule->getVar('mid'))
 
 $pathIcon32 = $moduleInfo->getInfo('icons32')
 
 $constpref = '_MI_' . strtoupper($mydirname)
 
 $adminmenu
 
 $adminmenu4altsys
 

Variable Documentation

◆ $adminmenu

$adminmenu
Initial value:
= array(
array(
'title' => constant($constpref . '_ADMINHOME'),
'link' => 'admin/index.php',
'icon' => '../../' . $pathIcon32 . '/home.png'),
array(
'title' => constant($constpref . '_ADMININDEX'),
'link' => 'admin/center.php?page=center',
'icon' => '../../' . $pathIcon32 . '/firewall.png'),
array(
'title' => constant($constpref . '_ADMINSTATS'),
'link' => 'admin/stats.php',
'icon' => '../../' . $pathIcon32 . '/stats.png'),
array(
'title' => constant($constpref . '_ADVISORY'),
'link' => 'admin/advisory.php',
'icon' => '../../' . $pathIcon32 . '/security.png'),
array(
'title' => constant($constpref . '_PREFIXMANAGER'),
'link' => 'admin/prefix_manager.php',
'icon' => '../../' . $pathIcon32 . '/manage.png'),
array(
'title' => constant($constpref . '_ADMINABOUT'),
'link' => 'admin/about.php',
'icon' => '../../' . $pathIcon32 . '/about.png'))
$pathIcon32
Definition: admin_menu.php:17
$constpref
Definition: admin_menu.php:19

◆ $adminmenu4altsys

$adminmenu4altsys
Initial value:
= array(
array(
'title' => constant($constpref . '_ADMENU_MYBLOCKSADMIN'),
'link' => 'admin/main.php?mode=admin&lib=altsys&page=myblocksadmin'),
array(
'title' => _PREFERENCES,
'link' => 'admin/main.php?mode=admin&lib=altsys&page=mypreferences'))
const _PREFERENCES
Definition: global.php:70

◆ $constpref

$constpref = '_MI_' . strtoupper($mydirname)

◆ $language

$language = $registry->getEntry('language')

◆ $module_handler

$module_handler = xoops_getHandler('module')

◆ $moduleInfo

$moduleInfo = $module_handler->get($xoopsModule->getVar('mid'))

◆ $mydirname

$mydirname = $registry->getEntry('mydirname')

◆ $mydirpath

$mydirpath = $registry->getEntry('mydirpath')

◆ $pathIcon32

$pathIcon32 = $moduleInfo->getInfo('icons32')

◆ $registry

if (!class_exists( 'ProtectorRegistry')) $registry = ProtectorRegistry::getInstance()

◆ $xoopsModule

$xoopsModule = XoopsModule::getByDirname($mydirname)