XOOPS
2.6.0
|
Public Member Functions | |
__construct ($id=null) | |
actkey ($format= '') | |
attachsig ($format= '') | |
bio ($format= '') | |
email ($format= '') | |
getGroups () | |
groups () | |
id ($format= 'n') | |
incrementPost () | |
isActive () | |
isAdmin ($module_id=null) | |
isGuest () | |
isOnline () | |
level ($format= '') | |
name ($format= '') | |
notify_method ($format= '') | |
notify_mode ($format= '') | |
pass ($format= '') | |
posts ($format= '') | |
rank () | |
setGroups ($groupsArr) | |
theme ($format= '') | |
timezone ($format= '') | |
uid ($format= '') | |
umode ($format= '') | |
uname ($format= '') | |
uorder ($format= '') | |
url ($format= '') | |
user_aim ($format= '') | |
user_avatar ($format= '') | |
user_from ($format= '') | |
user_icq ($format= 'S') | |
user_intrest ($format= '') | |
user_msnm ($format= '') | |
user_occ ($format= '') | |
user_regdate ($format= '') | |
user_sig ($format= '') | |
user_viewemail ($format= '') | |
user_yim ($format= '') | |
Public Member Functions inherited from Xoops\Core\Kernel\XoopsObject | |
assignVar ($key, $value) | |
assignVars ($var_arr) | |
cleanVars ($quote=true) | |
destroyVars ($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= '') | |
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 () | |
Static Public Member Functions | |
static | getUnameFromId ($userid, $usereal=0) |
Private Attributes | |
$_groups = array() | |
$_isOnline = null | |
$_rank = null | |
Additional Inherited Members | |
Public Attributes inherited from Xoops\Core\Kernel\XoopsObject | |
$cleanVars = array() | |
$plugin_path | |
$vars = array() | |
XoopsUser::__construct | ( | $id = null | ) |
constructor
int | array | $id | ID of the user to be loaded from the database or Array of key-value-pairs to be assigned to the user. (for backward compatibility only) |
Definition at line 57 of file user.php.
References $id, $member_handler, $user, $xoops, Xoops\Core\Kernel\XoopsObject\assignVar(), Xoops\Core\Kernel\XoopsObject\assignVars(), Xoops\getInstance(), Xoops\Core\Kernel\XoopsObject\initVar(), Xoops\Core\Kernel\XOBJ_DTYPE_INT, Xoops\Core\Kernel\XOBJ_DTYPE_OTHER, Xoops\Core\Kernel\XOBJ_DTYPE_TXTAREA, and Xoops\Core\Kernel\XOBJ_DTYPE_TXTBOX.
XoopsUser::actkey | ( | $format = '' | ) |
string | $format |
Definition at line 372 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::attachsig | ( | $format = '' | ) |
string | $format |
Definition at line 426 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::bio | ( | $format = '' | ) |
string | $format |
Definition at line 507 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::email | ( | $format = '' | ) |
string | $format |
Definition at line 300 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::getGroups | ( | ) |
get the groups that the user belongs to
Definition at line 177 of file user.php.
References $_groups, Xoops\getInstance(), and Xoops\Core\Kernel\XoopsObject\getVar().
Referenced by SystemUserForm\__construct(), groups(), and isAdmin().
|
static |
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 $member_handler, $name, $user, $xoops, and MyTextSanitizer\getInstance().
Referenced by Comments\renderHeader().
XoopsUser::groups | ( | ) |
alias for getGroups()
Definition at line 191 of file user.php.
References $groups, and getGroups().
XoopsUser::id | ( | $format = 'n' | ) |
string | $format |
Definition at line 273 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::incrementPost | ( | ) |
increase the number of posts for the user
Definition at line 155 of file user.php.
References Xoops\getInstance(), and Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::isActive | ( | ) |
is the user activated?
Definition at line 238 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
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 $module_id, $moduleperm_handler, $xoops, and getGroups().
XoopsUser::isGuest | ( | ) |
XoopsUser::isOnline | ( | ) |
is the user currently logged in?
Definition at line 251 of file user.php.
References $_isOnline, Xoops\getInstance(), and Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::level | ( | $format = '' | ) |
string | $format |
Definition at line 435 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::name | ( | $format = '' | ) |
string | $format |
Definition at line 282 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::notify_method | ( | $format = '' | ) |
string | $format |
Definition at line 480 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::notify_mode | ( | $format = '' | ) |
string | $format |
Definition at line 489 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::pass | ( | $format = '' | ) |
string | $format |
Definition at line 408 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::posts | ( | $format = '' | ) |
string | $format |
Definition at line 417 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
string user s XoopsUser::rank | ( | ) |
get the user's rank
private
Definition at line 224 of file user.php.
References $_rank, $xoops, Xoops\getInstance(), and Xoops\Core\Kernel\XoopsObject\getVar().
Referenced by SystemUserForm\__construct().
XoopsUser::setGroups | ( | $groupsArr | ) |
XoopsUser::theme | ( | $format = '' | ) |
string | $format |
Definition at line 444 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::timezone | ( | $format = '' | ) |
string | $format |
Definition at line 453 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::uid | ( | $format = '' | ) |
string | $format |
Definition at line 264 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::umode | ( | $format = '' | ) |
string | $format |
Definition at line 462 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::uname | ( | $format = '' | ) |
string | $format |
Definition at line 291 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::uorder | ( | $format = '' | ) |
string | $format |
Definition at line 471 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::url | ( | $format = '' | ) |
string | $format |
Definition at line 309 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::user_aim | ( | $format = '' | ) |
string | $format |
Definition at line 381 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::user_avatar | ( | $format = '' | ) |
string | $format |
Definition at line 318 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::user_from | ( | $format = '' | ) |
string | $format |
Definition at line 345 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::user_icq | ( | $format = 'S' | ) |
string | $format |
Definition at line 336 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::user_intrest | ( | $format = '' | ) |
string | $format |
Definition at line 516 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::user_msnm | ( | $format = '' | ) |
string | $format |
Definition at line 399 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::user_occ | ( | $format = '' | ) |
string | $format |
Definition at line 498 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::user_regdate | ( | $format = '' | ) |
string | $format |
Definition at line 327 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::user_sig | ( | $format = '' | ) |
string | $format |
Definition at line 354 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::user_viewemail | ( | $format = '' | ) |
string | $format |
Definition at line 363 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
XoopsUser::user_yim | ( | $format = '' | ) |
string | $format |
Definition at line 390 of file user.php.
References Xoops\Core\Kernel\XoopsObject\getVar().
|
private |
Definition at line 37 of file user.php.
Referenced by getGroups().
|
private |
Definition at line 49 of file user.php.
Referenced by isOnline().