Class

GroupsCache

Package: PHPBoost\Cache Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL ben.popeye@phpboost.com Version: PHPBoost 5.2 - last update: 2017 05 28 Since: PHPBoost 3.0 - 2009 09 29 Contributor: Julien BRISWALTER j1.seth@phpboost.com Contributor: janus57 janus57@janus57.fr Located at: phpboost/cache/GroupsCache.class.php

This class contains the cache data of the groups which group users having common criteria.

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( $group_id )
public
# group_name_exists( $group_name )
public string[]
# get_group( $group_id )

Returns a group

public
# set_groups( $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.