Elgg  Version 2.3
Namespaces | Variables
set_priority.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Variables

 $plugin_guid = get_input('plugin_guid')
 
 $priority = get_input('priority')
 
 $plugin = get_entity($plugin_guid)
 
if(!($plugin instanceof ElggPlugin)) if($plugin->setPriority($priority)) else
 
 $string = ($msg) ? 'admin:plugins:set_priority:no_with_msg' : 'admin:plugins:set_priority:no'
 

Variable Documentation

$plugin = get_entity($plugin_guid)

Definition at line 19 of file set_priority.php.

$plugin_guid = get_input('plugin_guid')

Definition at line 16 of file set_priority.php.

$priority = get_input('priority')
Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 17 of file set_priority.php.

$string = ($msg) ? 'admin:plugins:set_priority:no_with_msg' : 'admin:plugins:set_priority:no'
Examples:
/root/Elgg/engine/lib/output.php.

Definition at line 30 of file set_priority.php.

if (!($plugin instanceof ElggPlugin)) if ($plugin->setPriority($priority)) else
Initial value:
{
$msg = $plugin->getError()
$plugin

Definition at line 28 of file set_priority.php.