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

Variables

if(! $GLOBALS['xoopsSecurity']->check()) $uid = Xmf\Request::getInt('uid', 0)
 
if($uid===0) $member_handler = xoops_getHandler('member')
 
 $user = $member_handler->getUser($uid)
 
if(! $user|| $user->isNew()) if(in_array(XOOPS_GROUP_ADMIN, $user->getGroups())) $level = Xmf\Request::getInt('level', 0)
 
if($level===0) else
 

Documentation des variables

◆ $level

if (! $user||$user->isNew()) if (in_array(XOOPS_GROUP_ADMIN, $user->getGroups())) $level = Xmf\Request::getInt('level', 0)

◆ $member_handler

if ( $uid===0) $member_handler = xoops_getHandler('member')

◆ $uid

if (! $GLOBALS[ 'xoopsSecurity']->check()) $uid = Xmf\Request::getInt('uid', 0)

◆ $user

$user = $member_handler->getUser($uid)

◆ else

if ( $result) else
Valeur initiale :
{
$result = $member_handler->activateUser($user)
$result
$result
Definition: from.big5.php:13716
$member_handler
if($uid===0) $member_handler
Definition: deactivate.php:14
$user
$user
Definition: deactivate.php:15