32 $string = ($msg) ?
'admin:plugins:deactivate:no_with_msg' :
'admin:plugins:deactivate:no';
43 $url =
'admin/plugins';
44 $query = (string)parse_url($_SERVER[
'HTTP_REFERER'], PHP_URL_QUERY);
49 $id = preg_replace(
'/[^a-z0-9-]/i',
'-',
$plugin->getID());
if(! $collection_name) $id
elgg_reset_system_cache()
Reset the system cache by deleting the caches.
elgg_invalidate_simplecache()
Deletes all cached views in the simplecache and sets the lastcache and lastupdate time to 0 for every...
$guid
Removes an admin notice.
register_error($error)
Display an error on next page load.
forward($location="", $reason='system')
Forward to $location.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
get_entity($guid)
Loads and returns an entity object from a guid.