|
| __construct ($id=null) |
|
| isGuest () |
|
| incrementPost () |
|
| setGroups ($groupsArr) |
|
& | getGroups () |
|
& | groups () |
|
| isAdmin ($module_id=null) |
|
| rank () |
|
| isActive () |
|
| isOnline () |
|
| uid ($format='') |
|
| id ($format='N') |
|
| name ($format='S') |
|
| uname ($format='S') |
|
| email ($format='S') |
|
| url ($format='S') |
|
| user_avatar ($format='S') |
|
| user_regdate ($format='') |
|
| user_icq ($format='S') |
|
| user_from ($format='S') |
|
| user_sig ($format='S') |
|
| user_viewemail ($format='') |
|
| actkey ($format='') |
|
| user_aim ($format='S') |
|
| user_yim ($format='S') |
|
| user_msnm ($format='S') |
|
| pass ($format='') |
|
| posts ($format='') |
|
| attachsig ($format='') |
|
| level ($format='') |
|
| theme ($format='') |
|
| timezone ($format='') |
|
| umode ($format='') |
|
| uorder ($format='') |
|
| notify_method ($format='') |
|
| notify_mode ($format='') |
|
| user_occ ($format='S') |
|
| bio ($format='S') |
|
| user_intrest ($format='S') |
|
| getProfile () |
|
| __construct () |
|
| XoopsObject () |
|
| setNew () |
|
| unsetNew () |
|
| isNew () |
|
| setDirty () |
|
| unsetDirty () |
|
| isDirty () |
|
| initVar ($key, $data_type, $value=null, $required=false, $maxlength=null, $options='', $enumerations='') |
|
| assignVar ($key, $value) |
|
| assignVars ($var_arr) |
|
| setVar ($key, $value, $not_gpc=false) |
|
| setVars ($var_arr, $not_gpc=false) |
|
| destroyVars ($var) |
|
| destoryVars ($var) |
|
| setFormVars ($var_arr=null, $pref='xo_', $not_gpc=false) |
|
& | getVars () |
|
| getValues ($keys=null, $format='s', $maxDepth=1) |
|
| getVar ($key, $format='s') |
|
| cleanVars () |
|
| registerFilter ($filtername) |
|
| _loadFilters () |
|
| loadFilters ($method) |
|
| xoopsClone () |
|
| __clone () |
|
| setErrors ($err_str) |
|
| getErrors () |
|
| getHtmlErrors () |
|
| toArray () |
|
◆ __construct()
__construct |
( |
|
$id = null | ) |
|
constructor
- Paramètres
-
array | null | $id | ID of the user to be loaded from the database. |
◆ actkey()
◆ attachsig()
attachsig |
( |
|
$format = '' | ) |
|
◆ bio()
◆ email()
get the user's email
- Paramètres
-
- Renvoie
- string
◆ getGroups()
get the groups that the user belongs to
- Renvoie
- array array of groups
◆ getProfile()
◆ getUnameFromId()
static getUnameFromId |
( |
|
$userid, |
|
|
|
$usereal = 0 |
|
) |
| |
|
static |
Updated by Catzwolf 11 Jan 2004 find the username for a given ID
- Paramètres
-
int | $userid | ID of the user to find |
int | $usereal | switch for usename or realname |
- Renvoie
- string name of the user. name for 'anonymous' if not found.
◆ groups()
◆ id()
get the users UID
- Paramètres
-
- Renvoie
- int
◆ incrementPost()
increase the number of posts for the user
- Obsolète:
◆ isActive()
is the user activated?
- Renvoie
- bool
◆ isAdmin()
isAdmin |
( |
|
$module_id = null | ) |
|
Is the user admin ?
This method will return true if this user has admin rights for the specified module.
- If you don't specify any module ID, the current module will be checked.
- If you set the module_id to -1, it will return true if the user has admin rights for at least one module
- Paramètres
-
int | $module_id | check if user is admin of this module |
- Renvoie
- bool is the user admin of that module?
◆ isGuest()
check if the user is a guest user
- Renvoie
- bool returns false
Réimplémentée dans XoopsGuestUser.
◆ isOnline()
is the user currently logged in?
- Renvoie
- bool
◆ level()
◆ name()
get the users name
- Paramètres
-
- Renvoie
- string
◆ notify_method()
notify_method |
( |
|
$format = '' | ) |
|
◆ notify_mode()
notify_mode |
( |
|
$format = '' | ) |
|
◆ pass()
◆ posts()
◆ rank()
get the user's rank
- Renvoie
- array array of rank ID and title
@access private
◆ setGroups()
set the groups for the user
- Paramètres
-
array | $groupsArr | Array of groups that user belongs to |
◆ theme()
◆ timezone()
◆ uid()
get the users UID
- Paramètres
-
- Renvoie
- int
◆ umode()
◆ uname()
get the user's uname
- Paramètres
-
- Renvoie
- string
◆ uorder()
◆ url()
◆ user_aim()
user_aim |
( |
|
$format = 'S' | ) |
|
◆ user_avatar()
user_avatar |
( |
|
$format = 'S' | ) |
|
◆ user_from()
user_from |
( |
|
$format = 'S' | ) |
|
◆ user_icq()
user_icq |
( |
|
$format = 'S' | ) |
|
◆ user_intrest()
user_intrest |
( |
|
$format = 'S' | ) |
|
◆ user_msnm()
user_msnm |
( |
|
$format = 'S' | ) |
|
◆ user_occ()
user_occ |
( |
|
$format = 'S' | ) |
|
◆ user_regdate()
user_regdate |
( |
|
$format = '' | ) |
|
◆ user_sig()
user_sig |
( |
|
$format = 'S' | ) |
|
◆ user_viewemail()
user_viewemail |
( |
|
$format = '' | ) |
|
◆ user_yim()
user_yim |
( |
|
$format = 'S' | ) |
|
◆ $_groups
◆ $_isAdmin
◆ $_isOnline
◆ $_rank
La documentation de cette classe a été générée à partir du fichier suivant :
- XoopsCore25-2.5.11-Beta1/htdocs/kernel/user.php