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

Variables

if(!class_exists('ProtectorRegistry')) $registry = ProtectorRegistry::getInstance()
 
 $mydirname = $registry->getEntry('mydirname')
 
 $mydirpath = $registry->getEntry('mydirpath')
 
 $language = $registry->getEntry('language')
 
if(file_exists(__DIR__ . '/language/' . $language . '/modinfo.php')) else
 
 $modversion ['name'] = constant($constpref . '_NAME')
 
 $modversion ['description'] = constant($constpref . '_DESC')
 
 $modversion ['version'] = (float) file_get_contents(__DIR__ . '/include/version.txt')
 
 $modversion ['credits'] = 'PEAK Corp.'
 
 $modversion ['author'] = 'GIJ=CHECKMATE PEAK Corp.(http://www.peak.ne.jp/)'
 
 $modversion ['help'] = 'page=help'
 
 $modversion ['license'] = 'GNU GPL 2.0'
 
 $modversion ['license_url'] = 'www.gnu.org/licenses/gpl-2.0.html'
 
 $modversion ['official'] = 1
 
 $modversion ['image'] = file_exists($mydirpath . '/module_icon.png') ? 'module_icon.png' : 'module_icon.php'
 
 $modversion ['iconbig'] = 'module_icon.php?file=iconbig'
 
 $modversion ['iconsmall'] = 'module_icon.php?file=iconsmall'
 
 $modversion ['dirname'] = $mydirname
 
 $modversion ['dirmoduleadmin'] = 'Frameworks/moduleclasses'
 
 $modversion ['icons16'] = 'Frameworks/moduleclasses/icons/16'
 
 $modversion ['icons32'] = 'Frameworks/moduleclasses/icons/32'
 
 $modversion ['module_status'] = 'Final'
 
 $modversion ['release_date'] = '2019/02/18'
 
 $modversion ['module_website_url'] = 'https://xoops.org/'
 
 $modversion ['module_website_name'] = 'XOOPS'
 
 $modversion ['min_php'] = '5.3.9'
 
 $modversion ['min_xoops'] = '2.5.10'
 
 $modversion ['sqlfile'] = false
 
 $modversion ['tables'] = array()
 
 $modversion ['hasAdmin'] = 1
 
 $modversion ['system_menu'] = 1
 
 $modversion ['adminindex'] = 'admin/index.php'
 
 $modversion ['adminmenu'] = 'admin/admin_menu.php'
 
 $modversion ['blocks'] = array()
 
 $modversion ['hasMain'] = 0
 
 $modversion ['config'][1]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['config'][]
 
 $modversion ['hasSearch'] = 0
 
 $modversion ['hasComments'] = 0
 
 $modversion ['hasNotification'] = 0
 
 $modversion ['onInstall'] = 'oninstall.php'
 
 $modversion ['onUpdate'] = 'onupdate.php'
 
 $modversion ['onUninstall'] = 'onuninstall.php'
 

Documentation des variables

◆ $language

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

◆ $modversion [1/67]

$modversion[ 'adminindex'] = 'admin/index.php'

◆ $modversion [2/67]

$modversion[ 'adminmenu'] = 'admin/admin_menu.php'

◆ $modversion [3/67]

$modversion[ 'author'] = 'GIJ=CHECKMATE PEAK Corp.(http://www.peak.ne.jp/)'

◆ $modversion [4/67]

$modversion[ 'blocks'] = array()

◆ $modversion [5/67]

$modversion[ 'config'][1]
Valeur initiale :
= array(
'name' => 'global_disabled',
'title' => $constpref . '_GLOBAL_DISBL',
'description' => $constpref . '_GLOBAL_DISBLDSC',
'formtype' => 'yesno',
'valuetype' => 'int',
'default' => '0',
'options' => array())

◆ $modversion [6/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'default_lang',
'title' => $constpref . '_DEFAULT_LANG',
'description' => $constpref . '_DEFAULT_LANGDSC',
'formtype' => 'text',
'valuetype' => 'text',
'default' => @$GLOBALS['xoopsConfig']['language'],
'options' => array())

◆ $modversion [7/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'log_level',
'title' => $constpref . '_LOG_LEVEL',
'description' => '',
'formtype' => 'select',
'valuetype' => 'int',
'default' => 255,
'options' => array(
$constpref . '_LOGLEVEL0' => 0,
$constpref . '_LOGLEVEL15' => 15,
$constpref . '_LOGLEVEL63' => 63,
$constpref . '_LOGLEVEL255' => 255))

◆ $modversion [8/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'banip_time0',
'title' => $constpref . '_BANIP_TIME0',
'description' => $constpref . '_BANIP_TIME0DSC',
'formtype' => 'text',
'valuetype' => 'int',
'default' => 86400,
'options' => array())

◆ $modversion [9/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'reliable_ips',
'title' => $constpref . '_RELIABLE_IPS',
'description' => $constpref . '_RELIABLE_IPSDSC',
'formtype' => 'textarea',
'valuetype' => 'array',
'default' => '^192.168.|127.0.0.1',
'options' => array())

◆ $modversion [10/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'session_fixed_topbit',
'title' => $constpref . '_HIJACK_TOPBIT',
'description' => $constpref . '_HIJACK_TOPBITDSC',
'formtype' => 'text',
'valuetype' => 'text',
'default' => '24/56',
'options' => array())

◆ $modversion [11/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'groups_denyipmove',
'title' => $constpref . '_HIJACK_DENYGP',
'description' => $constpref . '_HIJACK_DENYGPDSC',
'formtype' => 'group_multi',
'valuetype' => 'array',
'default' => array(1),
'options' => array())

◆ $modversion [12/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'san_nullbyte',
'title' => $constpref . '_SAN_NULLBYTE',
'description' => $constpref . '_SAN_NULLBYTEDSC',
'formtype' => 'yesno',
'valuetype' => 'int',
'default' => '1',
'options' => array())

◆ $modversion [13/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'die_badext',
'title' => $constpref . '_DIE_BADEXT',
'description' => $constpref . '_DIE_BADEXTDSC',
'formtype' => 'yesno',
'valuetype' => 'int',
'default' => '1',
'options' => array())

◆ $modversion [14/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'contami_action',
'title' => $constpref . '_CONTAMI_ACTION',
'description' => $constpref . '_CONTAMI_ACTIONDS',
'formtype' => 'select',
'valuetype' => 'int',
'default' => 3,
'options' => array(
$constpref . '_OPT_NONE' => 0,
$constpref . '_OPT_EXIT' => 3,
$constpref . '_OPT_BIPTIME0' => 7,
$constpref . '_OPT_BIP' => 15))

◆ $modversion [15/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'isocom_action',
'title' => $constpref . '_ISOCOM_ACTION',
'description' => $constpref . '_ISOCOM_ACTIONDSC',
'formtype' => 'select',
'valuetype' => 'int',
'default' => 0,
'options' => array(
$constpref . '_OPT_NONE' => 0,
$constpref . '_OPT_SAN' => 1,
$constpref . '_OPT_EXIT' => 3,
$constpref . '_OPT_BIPTIME0' => 7,
$constpref . '_OPT_BIP' => 15))

◆ $modversion [16/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'union_action',
'title' => $constpref . '_UNION_ACTION',
'description' => $constpref . '_UNION_ACTIONDSC',
'formtype' => 'select',
'valuetype' => 'int',
'default' => 0,
'options' => array(
$constpref . '_OPT_NONE' => 0,
$constpref . '_OPT_SAN' => 1,
$constpref . '_OPT_EXIT' => 3,
$constpref . '_OPT_BIPTIME0' => 7,
$constpref . '_OPT_BIP' => 15))

◆ $modversion [17/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'id_forceintval',
'title' => $constpref . '_ID_INTVAL',
'description' => $constpref . '_ID_INTVALDSC',
'formtype' => 'yesno',
'valuetype' => 'int',
'default' => '0',
'options' => array())

◆ $modversion [18/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'file_dotdot',
'title' => $constpref . '_FILE_DOTDOT',
'description' => $constpref . '_FILE_DOTDOTDSC',
'formtype' => 'yesno',
'valuetype' => 'int',
'default' => '1',
'options' => array())

◆ $modversion [19/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'bf_count',
'title' => $constpref . '_BF_COUNT',
'description' => $constpref . '_BF_COUNTDSC',
'formtype' => 'text',
'valuetype' => 'int',
'default' => '10',
'options' => array())

◆ $modversion [20/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'bwlimit_count',
'title' => $constpref . '_BWLIMIT_COUNT',
'description' => $constpref . '_BWLIMIT_COUNTDSC',
'formtype' => 'text',
'valuetype' => 'int',
'default' => 0,
'options' => array())

◆ $modversion [21/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'dos_skipmodules',
'title' => $constpref . '_DOS_SKIPMODS',
'description' => $constpref . '_DOS_SKIPMODSDSC',
'formtype' => 'text',
'valuetype' => 'text',
'default' => '',
'options' => array())

◆ $modversion [22/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'dos_expire',
'title' => $constpref . '_DOS_EXPIRE',
'description' => $constpref . '_DOS_EXPIREDSC',
'formtype' => 'text',
'valuetype' => 'int',
'default' => '60',
'options' => array())

◆ $modversion [23/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'dos_f5count',
'title' => $constpref . '_DOS_F5COUNT',
'description' => $constpref . '_DOS_F5COUNTDSC',
'formtype' => 'text',
'valuetype' => 'int',
'default' => '20',
'options' => array())

◆ $modversion [24/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'dos_f5action',
'title' => $constpref . '_DOS_F5ACTION',
'description' => '',
'formtype' => 'select',
'valuetype' => 'text',
'default' => 'exit',
'options' => array(
$constpref . '_DOSOPT_NONE' => 'none',
$constpref . '_DOSOPT_SLEEP' => 'sleep',
$constpref . '_DOSOPT_EXIT' => 'exit',
$constpref . '_DOSOPT_BIPTIME0' => 'biptime0',
$constpref . '_DOSOPT_BIP' => 'bip',
$constpref . '_DOSOPT_HTA' => 'hta'))

◆ $modversion [25/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'dos_crcount',
'title' => $constpref . '_DOS_CRCOUNT',
'description' => $constpref . '_DOS_CRCOUNTDSC',
'formtype' => 'text',
'valuetype' => 'int',
'default' => '40',
'options' => array())

◆ $modversion [26/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'dos_craction',
'title' => $constpref . '_DOS_CRACTION',
'description' => '',
'formtype' => 'select',
'valuetype' => 'text',
'default' => 'exit',
'options' => array(
$constpref . '_DOSOPT_NONE' => 'none',
$constpref . '_DOSOPT_SLEEP' => 'sleep',
$constpref . '_DOSOPT_EXIT' => 'exit',
$constpref . '_DOSOPT_BIPTIME0' => 'biptime0',
$constpref . '_DOSOPT_BIP' => 'bip',
$constpref . '_DOSOPT_HTA' => 'hta'))

◆ $modversion [27/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'dos_crsafe',
'title' => $constpref . '_DOS_CRSAFE',
'description' => $constpref . '_DOS_CRSAFEDSC',
'formtype' => 'text',
'valuetype' => 'text',
'default' => '/(bingbot|Googlebot|Yahoo! Slurp)/i',
'options' => array())

◆ $modversion [28/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'bip_except',
'title' => $constpref . '_BIP_EXCEPT',
'description' => $constpref . '_BIP_EXCEPTDSC',
'formtype' => 'group_multi',
'valuetype' => 'array',
'default' => array(1),
'options' => array())

◆ $modversion [29/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'disable_features',
'title' => $constpref . '_DISABLES',
'description' => '',
'formtype' => 'select',
'valuetype' => 'int',
'default' => 1,
'options' => array('xmlrpc' => 1, 'xmlrpc + 2.0.9.2 bugs' => 1025, '_NONE' => 0))

◆ $modversion [30/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'enable_dblayertrap',
'title' => $constpref . '_DBLAYERTRAP',
'description' => $constpref . '_DBLAYERTRAPDSC',
'formtype' => 'yesno',
'valuetype' => 'int',
'default' => 1,
'options' => array())

◆ $modversion [31/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'dblayertrap_wo_server',
'title' => $constpref . '_DBTRAPWOSRV',
'description' => $constpref . '_DBTRAPWOSRVDSC',
'formtype' => 'yesno',
'valuetype' => 'int',
'default' => 0,
'options' => array())

◆ $modversion [32/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'enable_bigumbrella',
'title' => $constpref . '_BIGUMBRELLA',
'description' => $constpref . '_BIGUMBRELLADSC',
'formtype' => 'yesno',
'valuetype' => 'int',
'default' => 1,
'options' => array())

◆ $modversion [33/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'spamcount_uri4user',
'title' => $constpref . '_SPAMURI4U',
'description' => $constpref . '_SPAMURI4UDSC',
'formtype' => 'textbox',
'valuetype' => 'int',
'default' => 0,
'options' => array())

◆ $modversion [34/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'spamcount_uri4guest',
'title' => $constpref . '_SPAMURI4G',
'description' => $constpref . '_SPAMURI4GDSC',
'formtype' => 'textbox',
'valuetype' => 'int',
'default' => 5,
'options' => array())

◆ $modversion [35/67]

$modversion[ 'config'][]
Valeur initiale :
= array(
'name' => 'stopforumspam_action',
'title' => $constpref . '_STOPFORUMSPAM_ACTION',
'description' => $constpref . '_STOPFORUMSPAM_ACTIONDSC',
'formtype' => 'select',
'valuetype' => 'text',
'default' => 'none',
'options' => array(
'_NONE' => 'none',
$constpref . '_OPT_NONE' => 'log',
$constpref . '_OPT_SAN' => 'san',
$constpref . '_OPT_BIPTIME0' => 'biptime0',
$constpref . '_OPT_BIP' => 'bip'))

◆ $modversion [36/67]

$modversion[ 'credits'] = 'PEAK Corp.'

◆ $modversion [37/67]

$modversion[ 'description'] = constant($constpref . '_DESC')

◆ $modversion [38/67]

$modversion[ 'dirmoduleadmin'] = 'Frameworks/moduleclasses'

◆ $modversion [39/67]

$modversion[ 'dirname'] = $mydirname

◆ $modversion [40/67]

$modversion[ 'hasAdmin'] = 1

◆ $modversion [41/67]

$modversion[ 'hasComments'] = 0

◆ $modversion [42/67]

$modversion[ 'hasMain'] = 0

◆ $modversion [43/67]

$modversion[ 'hasNotification'] = 0

◆ $modversion [44/67]

$modversion[ 'hasSearch'] = 0

◆ $modversion [45/67]

$modversion[ 'help'] = 'page=help'

◆ $modversion [46/67]

$modversion[ 'iconbig'] = 'module_icon.php?file=iconbig'

◆ $modversion [47/67]

$modversion[ 'icons16'] = 'Frameworks/moduleclasses/icons/16'

◆ $modversion [48/67]

$modversion[ 'icons32'] = 'Frameworks/moduleclasses/icons/32'

◆ $modversion [49/67]

$modversion[ 'iconsmall'] = 'module_icon.php?file=iconsmall'

◆ $modversion [50/67]

$modversion[ 'image'] = file_exists($mydirpath . '/module_icon.png') ? 'module_icon.png' : 'module_icon.php'

◆ $modversion [51/67]

$modversion[ 'license'] = 'GNU GPL 2.0'

◆ $modversion [52/67]

$modversion[ 'license_url'] = 'www.gnu.org/licenses/gpl-2.0.html'

◆ $modversion [53/67]

$modversion[ 'min_php'] = '5.3.9'

◆ $modversion [54/67]

$modversion[ 'min_xoops'] = '2.5.10'

◆ $modversion [55/67]

$modversion[ 'module_status'] = 'Final'

◆ $modversion [56/67]

$modversion[ 'module_website_name'] = 'XOOPS'

◆ $modversion [57/67]

$modversion[ 'module_website_url'] = 'https://xoops.org/'

◆ $modversion [58/67]

$modversion[ 'name'] = constant($constpref . '_NAME')

◆ $modversion [59/67]

$modversion[ 'official'] = 1

◆ $modversion [60/67]

$modversion[ 'onInstall'] = 'oninstall.php'

◆ $modversion [61/67]

$modversion[ 'onUninstall'] = 'onuninstall.php'

◆ $modversion [62/67]

$modversion[ 'onUpdate'] = 'onupdate.php'

◆ $modversion [63/67]

$modversion[ 'release_date'] = '2019/02/18'

◆ $modversion [64/67]

$modversion[ 'sqlfile'] = false

◆ $modversion [65/67]

$modversion[ 'system_menu'] = 1

◆ $modversion [66/67]

$modversion[ 'tables'] = array()

◆ $modversion [67/67]

$modversion[ 'version'] = (float) file_get_contents(__DIR__ . '/include/version.txt')

◆ $mydirname

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

◆ $mydirpath

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

◆ $registry

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

◆ else

if (file_exists(__DIR__ . '/language/' . $language . '/modinfo.php')) else
Valeur initiale :
{
if (file_exists(__DIR__ . '/language/english/modinfo.php')) {
include __DIR__ . '/language/english/modinfo.php';
}
}
$constpref = '_MI_' . strtoupper($mydirname)
$mydirname
$mydirname
Definition: xoops_version.php:5
$constpref
$constpref
Definition: admin_menu.php:19
$GLOBALS
$GLOBALS['xoopsOption']['template_main']
Definition: index.php:84