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

Variables

 $modid = isset($_POST['modid']) ? (int)$_POST['modid'] : 0
 
if($modid<=1||!is_object($xoopsUser)||! $xoopsUser->isAdmin($modid)) $module_handler = xoops_getHandler('module')
 
 $module = $module_handler->get($modid)
 
if(!is_object($module)||! $module->getVar('isactive')) $msg = array()
 
 $member_handler = xoops_getHandler('member')
 
 $group_list = $member_handler->getGroupList()
 
if(is_array($_POST['perms']) &&!empty($_POST['perms'])) $backlink = xoops_getenv('HTTP_REFERER')
 

Documentation des variables

◆ $backlink

if ( $module->getVar( 'hasadmin')) $backlink = xoops_getenv('HTTP_REFERER')

◆ $group_list

$group_list = $member_handler->getGroupList()

◆ $member_handler

$member_handler = xoops_getHandler('member')

◆ $modid

$modid = isset($_POST['modid']) ? (int)$_POST['modid'] : 0

◆ $module

$module = $module_handler->get($modid)

◆ $module_handler

if ( $modid<=1||!is_object( $xoopsUser)||! $xoopsUser->isAdmin( $modid)) $module_handler = xoops_getHandler('module')

◆ $msg

if (!is_object( $module)||! $module->getVar( 'isactive')) $msg = array()