XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
users.php File Reference

Go to the source code of this file.

Functions

 activate_users ($activate)
 
 delete_users ()
 
 formatSQL ()
 
 save_data ($edit=false)
 
 send_mail ()
 
 show_mailer ()
 
 show_users ()
 
 user_form ($edit=false)
 

Variables

 $action = rmc_server_var($_REQUEST, 'action', '')
 
const RMCLOCATION 'users'
 

Function Documentation

activate_users (   $activate)

Deactivate selected users

Definition at line 462 of file users.php.

References $db, $id, $sql, $xoopsSecurity, __(), redirectMsg(), and rmc_server_var().

Here is the call graph for this function:

delete_users ( )

Definition at line 491 of file users.php.

References $GLOBALS, $id, $xoopsSecurity, __(), elseif(), redirectMsg(), and rmc_server_var().

Here is the call graph for this function:

formatSQL ( )

Get the formated SQL to query the database

Definition at line 25 of file users.php.

References $from, $sql, $tpl, $url, elseif(), RMEvents\get(), RMTemplate\get(), and TextCleaner\getInstance().

Referenced by show_users().

Here is the call graph for this function:

Here is the caller graph for this function:

save_data (   $edit = false)

Save user data

Parameters
boolIndicates when is a edit

Definition at line 317 of file users.php.

References $url, $xoopsSecurity, __(), RMEvents\get(), and redirectMsg().

Here is the call graph for this function:

send_mail ( )

Send mail to selected users using Swift

Definition at line 432 of file users.php.

References $rmc_config, $type, $xoopsConfig, __(), TextCleaner\getInstance(), and redirectMsg().

Here is the call graph for this function:

show_mailer ( )

This function shows a form to send email to single or multiple users

Definition at line 387 of file users.php.

References $rmc_config, $xoopsConfig, __(), RMTemplate\get(), rmc_server_var(), and xoops_cp_location().

Here is the call graph for this function:

show_users ( )

Shows all registered users in a list with filter and manage options

Definition at line 166 of file users.php.

References $db, $limit, $nav, $page, $result, $sql, $start, $tpages, $users, $xoopsSecurity, __(), RMFunctions\create_toolbar(), formatSQL(), RMEvents\get(), RMTemplate\get(), rmc_server_var(), and xoops_cp_location().

Here is the call graph for this function:

user_form (   $edit = false)

Definition at line 241 of file users.php.

References $db, __(), RMFunctions\create_toolbar(), RMEvents\get(), redirectMsg(), rmc_server_var(), and xoops_cp_location().

Here is the call graph for this function:

Variable Documentation

$action = rmc_server_var($_REQUEST, 'action', '')

Definition at line 532 of file users.php.

const RMCLOCATION 'users'

This file allow to manage users registered. plugins can extend this file functionallity

Definition at line 18 of file users.php.