Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
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')

Definition at line 17 of file set_priority.php.

$string = ($msg) ? 'admin:plugins:set_priority:no_with_msg' : 'admin:plugins:set_priority:no'

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.