XOOPS 2.5.6
Final
|
Public Member Functions | |
actkey ($format= '') | |
attachsig ($format= '') | |
bio ($format= 'S') | |
email ($format= 'S') | |
& | getGroups () |
getProfile () | |
getUnameFromId ($userid, $usereal=0) | |
& | groups () |
id ($format= 'N') | |
incrementPost () | |
isActive () | |
isAdmin ($module_id=null) | |
isGuest () | |
isOnline () | |
level ($format= '') | |
name ($format= 'S') | |
notify_method ($format= '') | |
notify_mode ($format= '') | |
pass ($format= '') | |
posts ($format= '') | |
rank () | |
setGroups ($groupsArr) | |
theme ($format= '') | |
timezone ($format= '') | |
uid ($format= '') | |
umode ($format= '') | |
uname ($format= 'S') | |
uorder ($format= '') | |
url ($format= 'S') | |
user_aim ($format= 'S') | |
user_avatar ($format= 'S') | |
user_from ($format= 'S') | |
user_icq ($format= 'S') | |
user_intrest ($format= 'S') | |
user_msnm ($format= 'S') | |
user_occ ($format= 'S') | |
user_regdate ($format= '') | |
user_sig ($format= 'S') | |
user_viewemail ($format= '') | |
user_yim ($format= 'S') | |
XoopsUser ($id=null) | |
Public Member Functions inherited from XoopsObject | |
_loadFilters () | |
assignVar ($key, $value) | |
assignVars ($var_arr) | |
cleanVars () | |
destoryVars ($var) | |
getErrors () | |
getHtmlErrors () | |
getValues ($keys=null, $format= 's', $maxDepth=1) | |
getVar ($key, $format= 's') | |
& | getVars () |
initVar ($key, $data_type, $value=null, $required=false, $maxlength=null, $options= '', $enumerations= '') | |
isDirty () | |
isNew () | |
loadFilters ($method) | |
registerFilter ($filtername) | |
setDirty () | |
setErrors ($err_str) | |
setFormVars ($var_arr=null, $pref= 'xo_', $not_gpc=false) | |
setNew () | |
setVar ($key, $value, $not_gpc=false) | |
setVars ($var_arr, $not_gpc=false) | |
toArray () | |
unsetDirty () | |
unsetNew () | |
& | xoopsClone () |
XoopsObject () | |
Public Attributes | |
$_groups = array() | |
$_isAdmin = null | |
$_isOnline = null | |
$_rank = null | |
Public Attributes inherited from XoopsObject | |
$_errors = array() | |
$_filters = array() | |
$_isDirty = false | |
$_isNew = false | |
$cleanVars = array() | |
$vars = array() | |
XoopsUser::email | ( | $format = 'S' | ) |
get the user's email
string | $format | format for the output, see XoopsObject::getVar($format = '') |
& XoopsUser::getGroups | ( | ) |
get the groups that the user belongs to
Definition at line 176 of file user.php.
References $member_handler, and xoops_gethandler().
XoopsUser::getProfile | ( | ) |
XoopsUser::getUnameFromId | ( | $userid, | |
$usereal = 0 |
|||
) |
Updated by Catzwolf 11 Jan 2004 find the username for a given ID
int | $userid | ID of the user to find |
int | $usereal | switch for usename or realname |
Definition at line 124 of file user.php.
References $GLOBALS, $member_handler, $user, MyTextSanitizer\getInstance(), and xoops_gethandler().
Referenced by XoopsComments\showTreeItem(), and XoopsStory\uname().
& XoopsUser::groups | ( | ) |
alias for getGroups()
Definition at line 191 of file user.php.
References $groups.
XoopsUser::id | ( | $format = 'N' | ) |
XoopsUser::incrementPost | ( | ) |
increase the number of posts for the user
Definition at line 153 of file user.php.
References $member_handler, and xoops_gethandler().
XoopsUser::isAdmin | ( | $module_id = null | ) |
Is the user admin ?
This method will return true if this user has admin rights for the specified module.
int | $module_id | check if user is admin of this module |
Definition at line 207 of file user.php.
References $GLOBALS, $module_id, $moduleperm_handler, and xoops_gethandler().
XoopsUser::isGuest | ( | ) |
XoopsUser::isOnline | ( | ) |
is the user currently logged in?
Definition at line 246 of file user.php.
References xoops_gethandler().
XoopsUser::name | ( | $format = 'S' | ) |
get the users name
string | $format | format for the output, see XoopsObject::getVar($format = '') |
string user s XoopsUser::rank | ( | ) |
get the user's rank
private
Definition at line 222 of file user.php.
References xoops_getrank().
XoopsUser::setGroups | ( | $groupsArr | ) |
XoopsUser::uid | ( | $format = '' | ) |
XoopsUser::uname | ( | $format = 'S' | ) |
get the user's uname
string | $format | format for the output, see XoopsObject::getVar($format = '') |
XoopsUser::XoopsUser | ( | $id = null | ) |
constructor
array | $id | Array of key-value-pairs to be assigned to the user. (for backward compatibility only) |
int | $id | ID of the user to be loaded from the database. |
Definition at line 57 of file user.php.
References $member_handler, $user, XOBJ_DTYPE_INT, XOBJ_DTYPE_OTHER, XOBJ_DTYPE_TXTAREA, XOBJ_DTYPE_TXTBOX, and xoops_gethandler().
Referenced by XoUser\XoUser().