Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Namespaces | Variables
full.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Variables

 $plugin = $vars['entity']
 
 $reordering = elgg_extract('display_reordering', $vars, false)
 
 $priority = $plugin->getPriority()
 
 $active = $plugin->isActive()
 
 $can_activate = $plugin->canActivate()
 
 $max_priority = _elgg_get_max_plugin_priority()
 
 $actions_base = '/action/admin/plugins/'
 
 $css_id = preg_replace('/[^a-z0-9-]/i', '-', $plugin->getID())
 
 $links = ''
 
 $classes = array('elgg-plugin')
 
if($reordering) else
 
 $options
 
 $action = ''
 
 $options ['text'] = elgg_echo('admin:plugins:cannot_activate')
 
 $options ['disabled'] = 'disabled'
 
if($action$action_button = elgg_view('output/url', $options)
 
 $categories = $plugin->getManifest()->getCategories()
 
 $categories [] = "all"
 
 $categories_html = ''
 
if($categories) $description = elgg_view('output/longtext', array('value' => $plugin->getManifest()->getDescription()))
 
 $settings_view_old = 'settings/' . $plugin->getID() . '/edit'
 
 $settings_view_new = 'plugins/' . $plugin->getID() . '/settings'
 
 $settings_link = ''
 
if(elgg_view_exists($settings_view_old)||elgg_view_exists($settings_view_new)) $attrs
 
if(elgg_view_exists($settings_view_old)||elgg_view_exists($settings_view_new)) $url_options
 

Variable Documentation

$action = ''

Definition at line 125 of file full.php.

$action_button = elgg_view('output/url', $options)

Definition at line 138 of file full.php.

$actions_base = '/action/admin/plugins/'

Definition at line 24 of file full.php.

$active = $plugin->isActive()

Definition at line 20 of file full.php.

if (elgg_view_exists($settings_view_old)||elgg_view_exists($settings_view_new)) $attrs
Initial value:
= [
'class' => $classes
$classes
Definition: full.php:29

Definition at line 176 of file full.php.

$can_activate = $plugin->canActivate()

Definition at line 22 of file full.php.

$categories = $plugin->getManifest()->getCategories()

Definition at line 143 of file full.php.

$categories[] = "all"

Definition at line 145 of file full.php.

$categories_html = ''

Definition at line 157 of file full.php.

$classes = array('elgg-plugin')

Definition at line 29 of file full.php.

$css_id = preg_replace('/[^a-z0-9-]/i', '-', $plugin->getID())

Definition at line 25 of file full.php.

if ($categories) $description = elgg_view('output/longtext', array('value' => $plugin->getManifest()->getDescription()))

Definition at line 166 of file full.php.

$links = ''

Definition at line 28 of file full.php.

$max_priority = _elgg_get_max_plugin_priority()

Definition at line 23 of file full.php.

$options
Initial value:
= array(
'is_action' => true,
'is_trusted' => true,
)

Definition at line 103 of file full.php.

$options['text'] = elgg_echo('admin:plugins:cannot_activate')

Definition at line 126 of file full.php.

$options['disabled'] = 'disabled'

Definition at line 128 of file full.php.

$plugin = $vars['entity']

Definition at line 17 of file full.php.

$priority = $plugin->getPriority()

Definition at line 19 of file full.php.

$reordering = elgg_extract('display_reordering', $vars, false)

Definition at line 18 of file full.php.

$settings_link = ''

Definition at line 170 of file full.php.

$settings_view_new = 'plugins/' . $plugin->getID() . '/settings'

Definition at line 169 of file full.php.

$settings_view_old = 'settings/' . $plugin->getID() . '/edit'

Definition at line 168 of file full.php.

if (elgg_view_exists($settings_view_old)||elgg_view_exists($settings_view_new)) $url_options
Initial value:
= array(
"href" => "ajax/view/object/plugin/details?guid=" . $plugin->getGUID(),
"text" => $plugin->getManifest()->getName(),
"class" => "elgg-lightbox",
)
$plugin
Definition: full.php:17

Definition at line 194 of file full.php.

if (!in_array("bundled", $categories)) if ($active) else
Initial value:
{
$classes[] = 'elgg-state-undraggable'
$classes
Definition: full.php:29

Definition at line 95 of file full.php.