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

Variables

if(!class_exists('ProtectorRegistry')) $registry = ProtectorRegistry::getInstance()
 
 $mydirname = $registry->getEntry('mydirname')
 
 $mydirpath = $registry->getEntry('mydirpath')
 
 $language = $registry->getEntry('language')
 
 $mytrustdirname = basename(__DIR__)
 
 $mytrustdirpath = __DIR__
 
if(file_exists("$mydirpath/language/$language/blocks.php")) elseif(file_exists("$mytrustdirpath/language/$language/blocks_common.php")) else
 

Documentation des variables

◆ $language

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

◆ $mydirname

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

◆ $mydirpath

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

◆ $mytrustdirname

$mytrustdirname = basename(__DIR__)

◆ $mytrustdirpath

$mytrustdirpath = __DIR__

◆ $registry

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

◆ else

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