32 'cannot_start' .
$plugin->getID(),
33 'invalid_and_deactivated_' .
$plugin->getID()
36 foreach ($ids as
$id) {
42 $string = ($msg) ?
'admin:plugins:activate:no_with_msg' :
'admin:plugins:activate:no';
52 $url =
'admin/plugins';
53 $query = (string)
parse_url($_SERVER[
'HTTP_REFERER'], PHP_URL_QUERY);
62 $url = $_SERVER[
'HTTP_REFERER'];
63 if (strpos(
$url,
'#')) {
elgg_delete_admin_notice($id)
Remove an admin notice by ID.
if(!is_array($plugin_guids)) $activated_guids
elgg_normalize_site_url($unsafe_url)
From untrusted input, get a site URL safe for forwarding.
$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.