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

Namespaces

namespace  profile
 

Variables

 $path = dirname(dirname(dirname(__DIR__)))
 
 $dirname = basename(dirname(__DIR__))
 
 $module_handler = xoops_getHandler('module')
 
 $module = $module_handler->getByDirname($dirname)
 
 $pathIcon32 = $module->getInfo('icons32')
 
 $pathModuleAdmin = $module->getInfo('dirmoduleadmin')
 
 $pathLanguage = $path . $pathModuleAdmin
 
 if (!file_exists( $fileinc=$pathLanguage . '/language/' . $GLOBALS[ 'xoopsConfig'][ 'language'] . '/' . 'main.php'))
 
 $adminmenu = array()
 
 $i = 1
 
 $adminmenu [$i]['title'] = _PROFILE_MI_HOME
 
 $adminmenu [$i]['link'] = 'admin/index.php'
 
 $adminmenu [$i]['icon'] = $pathIcon32 . '/home.png'
 
 $adminmenu [$i]['title'] = _PROFILE_MI_USERS
 
 $adminmenu [$i]['link'] = 'admin/user.php'
 
 $adminmenu [$i]['icon'] = $pathIcon32 . '/users.png'
 
 $adminmenu [$i]['title'] = _PROFILE_MI_CATEGORIES
 
 $adminmenu [$i]['link'] = 'admin/category.php'
 
 $adminmenu [$i]['icon'] = $pathIcon32 . '/category.png'
 
 $adminmenu [$i]['title'] = _PROFILE_MI_FIELDS
 
 $adminmenu [$i]['link'] = 'admin/field.php'
 
 $adminmenu [$i]['icon'] = $pathIcon32 . '/index.png'
 
 $adminmenu [$i]['title'] = _PROFILE_MI_STEPS
 
 $adminmenu [$i]['link'] = 'admin/step.php'
 
 $adminmenu [$i]['icon'] = $pathIcon32 . '/stats.png'
 
 $adminmenu [$i]['title'] = _PROFILE_MI_PERMISSIONS
 
 $adminmenu [$i]['link'] = 'admin/permissions.php'
 
 $adminmenu [$i]['icon'] = $pathIcon32 . '/permissions.png'
 
 $adminmenu [$i]['title'] = _PROFILE_MI_ABOUT
 
 $adminmenu [$i]['link'] = 'admin/about.php'
 
 $adminmenu [$i]['icon'] = $pathIcon32 . '/about.png'
 

Variable Documentation

◆ $adminmenu [1/22]

$adminmenu = array()

◆ $adminmenu [2/22]

$adminmenu[ $i][ 'icon'] = $pathIcon32 . '/home.png'

◆ $adminmenu [3/22]

$adminmenu[ $i][ 'icon'] = $pathIcon32 . '/users.png'

◆ $adminmenu [4/22]

$adminmenu[ $i][ 'icon'] = $pathIcon32 . '/category.png'

◆ $adminmenu [5/22]

$adminmenu[ $i][ 'icon'] = $pathIcon32 . '/index.png'

◆ $adminmenu [6/22]

$adminmenu[ $i][ 'icon'] = $pathIcon32 . '/stats.png'

◆ $adminmenu [7/22]

$adminmenu[ $i][ 'icon'] = $pathIcon32 . '/permissions.png'

◆ $adminmenu [8/22]

$adminmenu[ $i][ 'icon'] = $pathIcon32 . '/about.png'

◆ $adminmenu [9/22]

$adminmenu[ $i][ 'link'] = 'admin/index.php'

◆ $adminmenu [10/22]

$adminmenu[ $i][ 'link'] = 'admin/user.php'

◆ $adminmenu [11/22]

$adminmenu[ $i][ 'link'] = 'admin/category.php'

◆ $adminmenu [12/22]

$adminmenu[ $i][ 'link'] = 'admin/field.php'

◆ $adminmenu [13/22]

$adminmenu[ $i][ 'link'] = 'admin/step.php'

◆ $adminmenu [14/22]

$adminmenu[ $i][ 'link'] = 'admin/permissions.php'

◆ $adminmenu [15/22]

$adminmenu[ $i][ 'link'] = 'admin/about.php'

◆ $adminmenu [16/22]

$adminmenu[ $i][ 'title'] = _PROFILE_MI_HOME

◆ $adminmenu [17/22]

$adminmenu[ $i][ 'title'] = _PROFILE_MI_USERS

◆ $adminmenu [18/22]

$adminmenu[ $i][ 'title'] = _PROFILE_MI_CATEGORIES

◆ $adminmenu [19/22]

$adminmenu[ $i][ 'title'] = _PROFILE_MI_FIELDS

◆ $adminmenu [20/22]

$adminmenu[ $i][ 'title'] = _PROFILE_MI_STEPS

◆ $adminmenu [21/22]

$adminmenu[ $i][ 'title'] = _PROFILE_MI_PERMISSIONS

◆ $adminmenu [22/22]

$adminmenu[ $i][ 'title'] = _PROFILE_MI_ABOUT

◆ $dirname

$dirname = basename(dirname(__DIR__))

◆ $i

$i = 1

◆ $module

$module = $module_handler->getByDirname($dirname)

◆ $module_handler

$module_handler = xoops_getHandler('module')

◆ $path

$path = dirname(dirname(dirname(__DIR__)))

◆ $pathIcon32

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

◆ $pathLanguage

$pathLanguage = $path . $pathModuleAdmin

◆ $pathModuleAdmin

$pathModuleAdmin = $module->getInfo('dirmoduleadmin')

◆ if

if(!file_exists($fileinc=$pathLanguage . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/' . 'main.php')) ( file_exists $fileinc=$pathLanguage . '/language/' . $GLOBALS[ 'xoopsConfig'][ 'language'] . '/' . 'main.php')