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

Structures de données

class  XoopsRank
 
class  XoopsRankHandler
 
class  XoUser
 
class  XoUserHandler
 

Espaces de nommage

 kernel
 

Variables

 $denied = true
 
if(!empty($_REQUEST['token'])) elseif(is_object($xoopsUser) && $xoopsUser->isAdmin()) if($denied) $token = isset($_REQUEST['token']) ? $_REQUEST['token'] : ''
 
 $name_form = 'memberslist'
 
 $name_userid = 'uid' . (!empty($_REQUEST['multiple']) ? '[]' : '')
 
 $name_username = 'uname' . (!empty($_REQUEST['multiple']) ? '[]' : '')
 
 $rank_handler = new XoopsRankHandler($xoopsDB)
 
 $user_handler = new XoUserHandler($xoopsDB)
 
 $items_match
 
 $items_range
 
const FINDUSERS_MODE_SIMPLE 0
 
const FINDUSERS_MODE_ADVANCED 1
 
const FINDUSERS_MODE_QUERY 2
 
 $modes
 
if(empty($_POST['user_submit'])) else
 
 $limit = empty($_POST['limit']) ? 50 : (int)$_POST['limit']
 
 $start = (int)(@$_POST['start'])
 
 $subquery = $xoopsDB->prefix('users')
 
 $sql_count = 'SELECT COUNT(DISTINCT ' . (empty($alias) ? '' : $alias . '.') . 'uid) FROM ' . $subquery
 
 $result = $xoopsDB->query($sql_count)
 
 $foundusers = array()
 
 while (false !==( $myrow=$xoopsDB->fetchArray( $result)))
 

Documentation des variables

◆ $denied

$denied = true

◆ $foundusers

$foundusers = array()

◆ $items_match

$items_match
Valeur initiale :
= array(
'uname' => _MA_USER_UNAME,
'name' => _MA_USER_REALNAME,
'email' => _MA_USER_EMAIL,
'user_icq' => _MA_USER_ICQ,
'user_aim' => _MA_USER_AIM,
'user_yim' => _MA_USER_YIM,
'user_msnm' => _MA_USER_MSNM)

◆ $items_range

$items_range
Valeur initiale :
= array(
'user_regdate' => _MA_USER_RANGE_USER_REGDATE,
'last_login' => _MA_USER_RANGE_LAST_LOGIN,

◆ $limit

$limit = empty($_POST['limit']) ? 50 : (int)$_POST['limit']

◆ $modes

◆ $name_form

$name_form = 'memberslist'

◆ $name_userid

$name_userid = 'uid' . (!empty($_REQUEST['multiple']) ? '[]' : '')

◆ $name_username

$name_username = 'uname' . (!empty($_REQUEST['multiple']) ? '[]' : '')

◆ $rank_handler

$rank_handler = new XoopsRankHandler($xoopsDB)

◆ $result

$result = $xoopsDB->query($sql_count)

◆ $sql_count

$sql_count = 'SELECT COUNT(DISTINCT ' . (empty($alias) ? '' : $alias . '.') . 'uid) FROM ' . $subquery

◆ $start

$start = (int)(@$_POST['start'])

◆ $subquery

$subquery = $xoopsDB->prefix('users')

◆ $token

if (!empty( $_REQUEST[ 'token'])) elseif (is_object( $xoopsUser) &&$xoopsUser->isAdmin()) if ( $denied) $token = isset($_REQUEST['token']) ? $_REQUEST['token'] : ''

◆ $user_handler

$user_handler = new XoUserHandler($xoopsDB)

◆ else

if (preg_match("/select[\s]+.*[\s]+from[\s]+(" . $xoopsDB->prefix( 'users') . "[\s]+as[\s]+(\S+).*)/i", $query, $matches)) elseif (preg_match("/select[\s]+.*[\s]+from[\s]+(" . $xoopsDB->prefix( 'users') . "\b.*)/i", $query, $matches)) else
Valeur initiale :

◆ FINDUSERS_MODE_ADVANCED

const FINDUSERS_MODE_ADVANCED 1

◆ FINDUSERS_MODE_QUERY

const FINDUSERS_MODE_QUERY 2

◆ FINDUSERS_MODE_SIMPLE

const FINDUSERS_MODE_SIMPLE 0

◆ while

while(false !==($myrow=$xoopsDB->fetchArray($result)))
_MA_USER_REALNAME
const _MA_USER_REALNAME
Definition: findusers.php:19
_MA_USER_YIM
const _MA_USER_YIM
Definition: findusers.php:31
FINDUSERS_MODE_QUERY
const FINDUSERS_MODE_QUERY
Definition: findusers.php:313
MyTextSanitizer\getInstance
static getInstance()
Definition: module.textsanitizer.php:229
$myts
$myts
Definition: banners.php:332
_MA_USER_AIM
const _MA_USER_AIM
Definition: findusers.php:30
_MA_USER_UNAME
const _MA_USER_UNAME
Definition: findusers.php:28
FINDUSERS_MODE_ADVANCED
const FINDUSERS_MODE_ADVANCED
Definition: findusers.php:312
_MA_USER_RANGE_USER_REGDATE
const _MA_USER_RANGE_USER_REGDATE
Definition: findusers.php:50
_MA_USER_RANGE_LAST_LOGIN
const _MA_USER_RANGE_LAST_LOGIN
Definition: findusers.php:49
_MA_USER_MODE_ADVANCED
const _MA_USER_MODE_ADVANCED
Definition: findusers.php:54
_MA_USER_MSNM
const _MA_USER_MSNM
Definition: findusers.php:32
FINDUSERS_MODE_SIMPLE
const FINDUSERS_MODE_SIMPLE
Definition: findusers.php:311
_MA_USER_MODE_QUERY
const _MA_USER_MODE_QUERY
Definition: findusers.php:55
_MA_USER_RANGE_POSTS
const _MA_USER_RANGE_POSTS
Definition: findusers.php:51
_MA_USER_MODE_SIMPLE
const _MA_USER_MODE_SIMPLE
Definition: findusers.php:53
_MA_USER_ICQ
const _MA_USER_ICQ
Definition: findusers.php:29
_MA_USER_EMAIL
const _MA_USER_EMAIL
Definition: findusers.php:21