32 $string = ($msg) ?
'admin:plugins:deactivate:no_with_msg' :
'admin:plugins:deactivate:no';
42 $url =
'admin/plugins';
43 $query = (string)
parse_url($_SERVER[
'HTTP_REFERER'], PHP_URL_QUERY);
48 $id = preg_replace(
'/[^a-z0-9-]/i',
'-',
$plugin->getID());
$guid
Removes an admin notice.
elgg parse_url
Parse a URL into its parts.
elgg forward
Meant to mimic the php forward() function by simply redirecting the user to another page...
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg register_error
Wrapper function for system_messages.
if(!$collection_name) $id
elgg_flush_caches()
Flush all the registered caches.
get_entity($guid)
Loads and returns an entity object from a guid.