API - XOOPS 2.5.11 Beta 2
By monxoops.fr
deactivate.php File Reference

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
 

Variable Documentation

◆ $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
Initial value:
{
$result = $member_handler->activateUser($user)
$user
Definition: deactivate.php:15
if($uid===0) $member_handler
Definition: deactivate.php:14
$result
Definition: from.big5.php:13716