Elgg  Version master
Variables
activate_all.php File Reference

Go to the source code of this file.

Variables

 $guids = get_input('guids')
 Activates all specified installed and inactive plugins. More...
 
if(empty($guids)) else
 
if(empty($plugins)) $errors = []
 
 do
 

Variable Documentation

if (empty($plugins)) $errors = []
Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 26 of file activate_all.php.

$guids = get_input('guids')

Activates all specified installed and inactive plugins.

All specified plugins in the mod/ directory that aren't active are activated and the views cache and simplecache are invalidated.

Definition at line 9 of file activate_all.php.

do
Initial value:
{
$additional_plugins_activated = false

Definition at line 28 of file activate_all.php.

if (empty($guids)) else
Initial value:
{
$plugins = elgg_get_entities([
'type' => 'object',
'subtype' => 'plugin',
'guids' => explode(',', $guids),
'limit' => false,
])
elgg_get_entities(array $options=[])
Fetches/counts entities or performs a calculation on their properties.
Definition: entities.php:507
$guids
Activates all specified installed and inactive plugins.
Definition: activate_all.php:9

Definition at line 13 of file activate_all.php.