19 'subtype' =>
'plugin',
20 'guids' => explode(
',',
$guids),
25 if (empty($plugins)) {
30 $additional_plugins_activated =
false;
33 unset($plugins[
$key]);
43 'cannot_start' .
$plugin->getID(),
44 'invalid_and_deactivated_' .
$plugin->getID()
47 foreach ($ids as
$id) {
52 $additional_plugins_activated =
true;
53 unset($plugins[
$key]);
56 if (!$additional_plugins_activated) {
60 }
while (count($plugins) > 0);
62 if (count($plugins) > 0) {
64 $msg = $plugin->getError();
65 $string = ($msg) ?
'admin:plugins:activate:no_with_msg' :
'admin:plugins:activate:no';
elgg_delete_admin_notice($id)
Remove an admin notice by ID.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg forward
Meant to mimic the php forward() function by simply redirecting the user to another page...
elgg_get_entities(array $options=array())
Returns an array of entities with optional filtering.
elgg_get_plugins($status= 'active', $site_guid=null)
Returns an ordered list of plugins.
elgg register_error
Wrapper function for system_messages.
if(!$collection_name) $id
elgg_flush_caches()
Flush all the registered caches.