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) {
65 $string = ($msg) ?
'admin:plugins:activate:no_with_msg' :
'admin:plugins:activate:no';
if(! $collection_name) $id
elgg_flush_caches()
Flush all the registered caches.
register_error($error)
Display an error on next page load.
forward($location="", $reason='system')
Forward to $location.
elgg_delete_admin_notice($id)
Remove an admin notice by ID.
elgg_get_plugins($status='active', $site_guid=null)
Returns an ordered list of plugins.
elgg_get_entities(array $options=array())
Returns an array of entities with optional filtering.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.