XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
XoopsGuestUser Class Reference
Inheritance diagram for XoopsGuestUser:
XoopsUser XoopsObject AbstractXoopsObject

Public Member Functions

 isGuest ()
 
 getGroups ($bReget=false)
 
- Public Member Functions inherited from XoopsUser
 __construct ($id=null)
 
 XoopsUser ($id=null)
 
 incrementPost ()
 
 setGroups ($groupsArr)
 
 getNumGroups ()
 
 groups ()
 
 isAdmin ($module_id=null)
 
 rank ()
 
 isActive ()
 
 isOnline ()
 
 uid ()
 
 name ($format='S')
 
 uname ($format='S')
 
 email ($format='S')
 
 url ($format='S')
 
 user_avatar ($format='S')
 
 user_regdate ()
 
 user_icq ($format='S')
 
 user_from ($format='S')
 
 user_sig ($format='S')
 
 user_viewemail ()
 
 actkey ()
 
 user_aim ($format='S')
 
 user_yim ($format='S')
 
 user_msnm ($format='S')
 
 pass ()
 
 posts ()
 
 attachsig ()
 
 level ()
 
 theme ()
 
 timezone ()
 
 umode ()
 
 uorder ()
 
 notify_method ()
 
 notify_mode ()
 
 user_occ ($format='S')
 
 bio ($format='S')
 
 user_intrest ($format='S')
 
 last_login ()
 
 hasAvatar ()
 
 getAvatarUrl ()
 
- Public Member Functions inherited from XoopsObject
 __construct ()
 
 setNew ()
 
 unsetNew ()
 
 isNew ()
 
 setDirty ()
 
 unsetDirty ()
 
 isDirty ()
 
 initVar ($key, $data_type, $value=null, $required=false, $maxlength=null, $options='')
 
 assignVar ($key, $value)
 
 assignVars ($var_arr)
 
 setVar ($key, $value, $not_gpc=false)
 
 setVars ($var_arr, $not_gpc=false)
 
 setFormVars ($var_arr=null, $pref='xo_', $not_gpc=false)
 
getVars ()
 
getVar ($key, $format='s')
 
 getShow ($key)
 
 set ($key, $value)
 
 get ($key)
 
 getProperty ($key)
 
 getProperties ()
 
 cleanVars ()
 
 registerFilter ($filtername)
 
 _loadFilters ()
 
xoopsClone ()
 
 setErrors ($err_str)
 
 getErrors ()
 
 getHtmlErrors ()
 
- Public Member Functions inherited from AbstractXoopsObject
 initVar ($key, $data_type, $default, $required, $size)
 

Additional Inherited Members

- Static Public Member Functions inherited from XoopsUser
static getUnameFromId ($userid, $usereal=0)
 
- Data Fields inherited from XoopsUser
 $_groups = []
 
 $_isAdmin = null
 
 $_rank = null
 
 $_isOnline = null
 
- Data Fields inherited from XoopsObject
 $vars = []
 
 $cleanVars = []
 
 $_isNew = false
 
 $_isDirty = false
 
 $_errors = []
 
 $_filters = []
 

Detailed Description

Definition at line 471 of file user.php.

Member Function Documentation

◆ getGroups()

getGroups ( $bReget = false)

get the groups that the user belongs to

Parameters
bool$bRegetthis is true, this object gets group informations from DB again. This is a special method for the BASE(CMS core) functions, you should not use this proactivity.
Returns
array array of groups

Reimplemented from XoopsUser.

Definition at line 484 of file user.php.

◆ isGuest()

isGuest ( )

check if the user is a guest user

Returns
bool returns true

Reimplemented from XoopsUser.

Definition at line 479 of file user.php.


The documentation for this class was generated from the following file: