189 _elgg_services()->events->triggerSequence(
'cache:invalidate',
'system');
202 _elgg_services()->events->triggerSequence(
'cache:clear',
'system');
217 _elgg_services()->events->triggerSequence(
'cache:purge',
'system');
230 $symlink_path =
"{$root_path}cache";
232 if (!is_dir($simplecache_path)) {
235 return is_dir($symlink_path) && realpath($simplecache_path) == realpath($symlink_path);
253 $symlink_path =
"{$root_path}cache";
255 if (is_dir($symlink_path)) {
261 if (!is_dir($simplecache_path)) {
263 mkdir($simplecache_path, 0755,
true);
266 symlink($simplecache_path, $symlink_path);
272 if (is_dir($symlink_path)) {
273 unlink($symlink_path);
elgg_enable_system_cache()
Enables the system disk cache.
elgg_reset_system_cache()
Reset the system cache by deleting the caches.
_elgg_is_cache_symlinked()
Checks if /cache directory has been symlinked to views simplecache directory.
elgg_get_asset_path()
Get the asset cache directory path for this installation, ending with slash.
_elgg_symlink_cache()
Symlinks /cache directory to views simplecache directory.
elgg_register_simplecache_view($view_name)
Registers a view to simple cache.
elgg_disable_system_cache()
Disables the system disk cache.
elgg_get_simplecache_url($view, $subview= '')
Get the URL for the cached view.
elgg_get_system_cache()
Elgg cache Cache file interface for caching data.
c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition plus the scripts used to control compilation and installation of the executable as a special the source code distributed need not include anything that is normally and so on of the operating system on which the executable unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place counts as distribution of the source even though third parties are not compelled to copy the source along with the object code You may not or distribute the Program except as expressly provided under this License Any attempt otherwise to sublicense or distribute the Program is void
if(elgg_trigger_plugin_hook('usersettings:save', 'user', $hooks_params, true)) foreach($request->validation() ->all() as $item) $data
elgg_invalidate_caches()
Invalidate all the registered caches.
elgg_purge_caches()
Purge all the registered caches.
if(!empty($avatar)&&!$avatar->isValid()) elseif(empty($avatar)) if(!$owner->saveIconFromUploadedFile('avatar')) if(!elgg_trigger_event('profileiconupdate', $owner->type, $owner)) $view
elgg_get_root_path()
Get the project path (where composer is installed), ending with slash.
elgg_delete_system_cache($type)
Deletes the contents of a system cache.
elgg_load_system_cache($type)
Retrieve the contents of a system cache.
elgg_is_simplecache_enabled()
Is simple cache enabled.
elgg_disable_simplecache()
Disables the simple cache.
elgg_is_system_cache_enabled()
Is system cache enabled.
_elgg_services()
Get the global service provider.
elgg_enable_simplecache()
Enables the simple cache.
elgg_clear_caches()
Clear all the registered caches.
elgg_save_system_cache($type, $data, int $expire_after=null)
Saves a system cache.