EasyBlogUserHelperJoomla
in package
Helper class for the user object for Joomla 2.5.
Tags
Table of Contents
Properties
- $_usergroups : mixed
- $access : EasyBlogUser
- This is the current user's object.
- $user : EasyBlogUser
- This is the current user's object.
Methods
- __construct() : mixed
- Class Constructor
- bind() : mixed
- Binds the data given to the user object.
- getAccess() : mixed
- getGroupChildrenTree() : mixed
- getUserGroups() : array<string|int, mixed>
- Gets a list of user group that the user belongs to.
- loadSession() : mixed
- setUserGroupsBatch() : mixed
Properties
$_usergroups
public
static mixed
$_usergroups
= array()
$access
This is the current user's object.
private
EasyBlogUser
$access
= \null
$user
This is the current user's object.
private
EasyBlogUser
$user
= \null
Methods
__construct()
Class Constructor
public
__construct(mixed &$user) : mixed
Parameters
- $user : mixed
Tags
bind()
Binds the data given to the user object.
public
bind(mixed &$user, mixed $data) : mixed
Parameters
- $user : mixed
- $data : mixed
getAccess()
public
getAccess() : mixed
getGroupChildrenTree()
public
getGroupChildrenTree(mixed $gid) : mixed
Parameters
- $gid : mixed
getUserGroups()
Gets a list of user group that the user belongs to.
public
getUserGroups() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>loadSession()
public
loadSession(mixed $user) : mixed
Parameters
- $user : mixed
setUserGroupsBatch()
public
static setUserGroupsBatch(mixed $userIds) : mixed
Parameters
- $userIds : mixed