Class XoopsMemberHandler
XOOPS member handler class. This class provides simple interface (a facade class) for handling groups/users/ membership data.
Copyright: (c) 2000-2016 XOOPS Project (www.xoops.org)
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Kazumi Ono onokazu@xoops.org
Located at ernel/member.php
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
array
|
#
getGroups(
retrieve groups from the database |
public
array
|
#
getUsers(
retrieve users from the database |
public
array
|
|
public
array
|
|
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
|
|
public
integer|null
|
#
getColumnCharacterLength( string $table, string $column )
Get maximum character length for a table column |
public
integer
|
|
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
mixed
|
|
public
array
|
#
getUsersByGroupLink( array $groups,
Get a list of users belonging to certain groups and matching criteria Temporary solution |
public
integer
|
#
getUserCountByGroupLink( integer $groups,
Get count of users belonging to certain groups and matching criteria Temporary solution |
protected
|
$groupHandler
holds reference to group handler(DAO) class |
|
protected
|
$userHandler
holds reference to user handler(DAO) class |
|
protected
|
$membershipHandler
holds reference to membership handler(DAO) class |
|
protected
array
|
$membersWorkingList
holds temporary user objects |
#
array()
|