XOOPS API 2.5.11 Beta1  UI v0.5
Réalisé par monxoops.fr
Référence du fichier mymenu.php

Variables

if(defined('XOOPS_ORETEKI')) global $xoopsModule
 
 $mydirpath = dirname(__DIR__)
 
if(!is_object($xoopsModule)) $language = empty($xoopsConfig['language']) ? 'english' : $xoopsConfig['language']
 
if(file_exists("$mydirpath/language/$language/modinfo.php")) elseif(file_exists("$mytrustdirpath/language/$language/modinfo.php")) else
 
if(file_exists(XOOPS_TRUST_PATH . '/libs/altsys/mytplsadmin.php')) if(file_exists(XOOPS_TRUST_PATH . '/libs/altsys/myblocksadmin.php')) $config_handler = xoops_getHandler('config')
 
if(count($config_handler->getConfigs(new Criteria('conf_modid', $xoopsModule->mid()))) > 0) $mymenu_uri = empty($mymenu_fake_uri) ? $_SERVER['REQUEST_URI'] : $mymenu_fake_uri
 
 $mymenu_link = substr(strstr($mymenu_uri, '/admin/'), 1)
 

Documentation des variables

◆ $config_handler

if (file_exists(XOOPS_TRUST_PATH . '/libs/altsys/mytplsadmin.php')) if (file_exists(XOOPS_TRUST_PATH . '/libs/altsys/myblocksadmin.php')) $config_handler = xoops_getHandler('config')

◆ $language

if (!is_object( $xoopsModule)) $language = empty($xoopsConfig['language']) ? 'english' : $xoopsConfig['language']

◆ $mydirpath

$mydirpath = dirname(__DIR__)

◆ $mymenu_link

$mymenu_link = substr(strstr($mymenu_uri, '/admin/'), 1)

◆ $mymenu_uri

if (count( $config_handler->getConfigs(new Criteria( 'conf_modid', $xoopsModule->mid()))) > 0) $mymenu_uri = empty($mymenu_fake_uri) ? $_SERVER['REQUEST_URI'] : $mymenu_fake_uri

◆ $xoopsModule

if (defined( 'XOOPS_ORETEKI')) global $xoopsModule

◆ else

if (file_exists("$mydirpath/language/$language/modinfo.php")) elseif (file_exists("$mytrustdirpath/language/$language/modinfo.php")) else
Valeur initiale :
{
include_once "$mytrustdirpath/language/english/modinfo.php"