38 return $this->cache->load(
$key);
51 return $this->cache->save(
$key,
$data, $expire_after);
82 return $cached_values;
95 return $cached_values;
static normalizeGuids(...$args)
Flatten an array of data into an array of GUIDs.
Saves user notification settings.
save($key, $data, $expire_after=null)
Save data in a cache.
if(elgg_trigger_plugin_hook('usersettings:save', 'user', $hooks_params, true)) foreach($request->validation() ->all() as $item) $data
__construct(ElggCache $cache)
Constructor.
load($key)
Load data from the cache using a given key.
In memory cache of known private settings values stored by entity.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
if($container instanceof ElggGroup &&$container->guid!=elgg_get_page_owner_guid()) $key
$guids
Activates all specified installed and inactive plugins.
_elgg_services()
Get the global service provider.
populateFromEntities(...$guids)
Populate the cache from a set of entities.
$guid
Reset an ElggUpgrade.