Class XoopsMemberHandler
XOOPS member handler class. This class provides simple interface (a facade class) for handling groups/users/ membership data.
Direct known subclasses
XoopsMemberHandler
Namespace: Xoops\Core\Kernel\Handlers
Package: Xoops\Core\Kernel
Category: Xoops\Core\Kernel\Handlers\XoopsMemberHandler
Copyright: 2000-2015 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Kazumi Ono onokazu@xoops.org
Link: http://xoops.org
Located at oops_lib/Xoops/Core/Kernel/Handlers/XoopsMemberHandler.php
Package: Xoops\Core\Kernel
Category: Xoops\Core\Kernel\Handlers\XoopsMemberHandler
Copyright: 2000-2015 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Kazumi Ono onokazu@xoops.org
Link: http://xoops.org
Located at oops_lib/Xoops/Core/Kernel/Handlers/XoopsMemberHandler.php
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
#
insertUser(
insert a user into the database |
public
|
#
getGroups(
retrieve groups from the database |
public
|
#
getUsers(
retrieve users from the database |
public
array
|
#
getGroupList(
get a list of groupnames and their IDs |
public
array
|
#
getUserList(
get a list of usernames and their IDs |
public
|
|
public
boolean
|
#
removeUsersFromGroup( integer $group_id, array $user_ids = array() )
remove a list of users from a group |
public
array
|
#
getUsersByGroup( integer $group_id, boolean $asobject = false, integer $limit = 0, integer $start = 0 )
get a list of users belonging to a group |
public
array
|
#
getGroupsByUser( integer $user_id, boolean $asobject = false )
get a list of groups that a user is member of |
public
mixed
|
|
public
integer
|
#
getUserCount(
count users matching certain conditions |
public
integer
|
|
public
boolean
|
#
updateUserByField(
updates a single field in a users record |
public
boolean
|
#
updateUsersByField( string $fieldName, string $fieldValue,
updates a single field in a users record |
public
boolean
|
|
public
array
|
#
getUsersByGroupLink( array $groups,
Get a list of users belonging to certain groups and matching criteria Temporary solution |
public
integer
|
#
getUserCountByGroupLink( array $groups,
Get count of users belonging to certain groups and matching criteria Temporary solution |