Class

GroupsCache

Package: phpboost Author: Benoit SAUTEL <ben.popeye@phpboost.com> Desc: This class contains the cache data of the groups which group users having common criteria. Located at phpboost/cache/GroupsCache.class.php
GroupsCache implements CacheData
Methods summary
public
# synchronize( )

This method is called when the data needs to be sychronized. For instance,

public array
# get_groups( )

Returns the list of the groups

public
# group_exists( mixed $group_id )
public
# group_name_exists( mixed $group_name )
public string[]
# get_group( mixed $group_id )

Returns a group

public
# set_groups( mixed $groups_list )

Sets the groups list

public static GroupsCache
# load( )

Loads and returns the groups cached data.

public static
# invalidate( )

Invalidates the current groups cached data.