Elgg  Version 3.0
Namespaces | Variables
full.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Updates the advanced settings for the primary site object.
 

Variables

 $plugin = elgg_extract('entity', $vars)
 
 $reordering = elgg_extract('display_reordering', $vars, false)
 
 $priority = $plugin->getPriority()
 
 $active = $plugin->isActive()
 
 $plugin_id = $plugin->getID()
 
 $actions_base = '/action/admin/plugins/'
 
 $links = ''
 
 $classes = ['elgg-plugin']
 
if($reordering) else
 
 $options
 
 $action = false
 
 $options ['title'] = elgg_echo('admin:plugins:cannot_activate')
 
 $options ['class'] = 'elgg-button elgg-button-submit elgg-state-disabled'
 
 $options ['text'] = elgg_echo('admin:plugins:activate')
 
 $options ['disabled'] = 'disabled'
 
if($action$action_button = elgg_view('output/url', $options)
 
 $categories = $plugin->getManifest()->getCategories()
 
 $categories [] = 'all'
 
if(!in_array('bundled', $categories)) foreach($categories as $category) $body
 
if(elgg_view_exists("plugins/{$plugin_id}/settings")) $description = elgg_view('output/longtext', ['value' => $plugin->getManifest()->getDescription()])
 
 $error = $plugin->getError()
 
if($error$result = elgg_view_image_block($action_button, $links . $body)
 

Variable Documentation

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

Definition at line 145 of file full.php.

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

Definition at line 21 of file full.php.

$active = $plugin->isActive()

Definition at line 18 of file full.php.

$body
Initial value:
= elgg_view('output/url', [
'href' => "ajax/view/object/plugin/details?guid={$plugin->getGUID()}",
'text' => $plugin->getDisplayName(),
'class' => 'elgg-lightbox elgg-plugin-title',
])
$plugin
Definition: full.php:15
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246

Definition at line 164 of file full.php.

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

Definition at line 150 of file full.php.

$categories[] = 'all'

Definition at line 152 of file full.php.

$classes = ['elgg-plugin']
Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 25 of file full.php.

if (elgg_view_exists("plugins/{$plugin_id}/settings")) $description = elgg_view('output/longtext', ['value' => $plugin->getManifest()->getDescription()])

Definition at line 179 of file full.php.

$error = $plugin->getError()

Definition at line 184 of file full.php.

$links = ''

Definition at line 24 of file full.php.

$options
Initial value:
= [
'is_action' => true

Definition at line 107 of file full.php.

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

Definition at line 133 of file full.php.

$options['class'] = 'elgg-button elgg-button-submit elgg-state-disabled'

Definition at line 134 of file full.php.

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

Definition at line 135 of file full.php.

$options['disabled'] = 'disabled'

Definition at line 136 of file full.php.

$plugin = elgg_extract('entity', $vars)

Definition at line 15 of file full.php.

$plugin_id = $plugin->getID()

Definition at line 19 of file full.php.

$priority = $plugin->getPriority()

Definition at line 17 of file full.php.

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

Definition at line 16 of file full.php.

if ($error) $result = elgg_view_image_block($action_button, $links . $body)

Definition at line 193 of file full.php.

if ($active) else if ($can_activate) else
Initial value:
{
$classes[] = 'elgg-state-undraggable'
$classes
Definition: full.php:25

Definition at line 101 of file full.php.