Summary
- File
- Package hierarchy PHPBoost\Cache
- Class hierarchy \GroupsCache
- Implements \CacheData
This class contains the cache data of the groups which group users having common criteria.
This class contains the cache data of the groups which group users having common criteria.
synchronize()
This method is called when the data needs to be sychronized.
For instance,
None found |
get_groups() : array
Returns the list of the groups
id_group => group properties (map)
None found |
group_exists( $group_id)
$group_id |
None found |
group_name_exists( $group_name)
$group_name |
None found |
get_group( $group_id) : array<mixed,string>
Returns a group
$group_id | Id of the group |
A map of the properties of the group
None found |
set_groups( $groups_list)
Sets the groups list
$groups_list | The groups list |
None found |
load() : \GroupsCache
Loads and returns the groups cached data.
The cached data
None found |
invalidate()
Invalidates the current groups cached data.
None found |