Elgg  Version 1.11
Namespaces | Variables
plugins.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Variables

 $installed_plugins = elgg_get_plugins('any')
 
 $show_category = get_input('category', 'all')
 
 $sort = get_input('sort', 'priority')
 
 $categories = array()
 
foreach($installed_plugins as $id=> $plugin$guids = array()
 
 $common_categories
 
if(!array_key_exists($show_category, $categories)) $category_form
 
 $sort_options
 
if(!array_key_exists($sort, $sort_options)) $sort_form
 
 $buttons = "<div class=\"clearfix mbm\">"
 
 if ($show_category== 'all'&&$sort== 'priority')
 

Variable Documentation

$buttons = "<div class=\"clearfix mbm\">"

Definition at line 159 of file plugins.php.

$categories = array()

Definition at line 24 of file plugins.php.

if (!array_key_exists($show_category, $categories)) $category_form
Initial value:
= elgg_view_form('admin/plugins/filter', array(
'action' => 'admin/plugins',
'method' => 'get',
'disable_security' => true,
), array(
'category' => $show_category,
'category_options' => $categories,
'sort' => $sort,
))
$sort
Definition: plugins.php:19
$categories
Definition: plugins.php:24
elgg_view_form($action, $form_vars=array(), $body_vars=array())
Definition: views.php:1313
$show_category
Definition: plugins.php:18

Definition at line 128 of file plugins.php.

$common_categories
Initial value:
= array(
'all' => elgg_echo('admin:plugins:category:all'),
'active' => elgg_echo('admin:plugins:category:active'),
'inactive' => elgg_echo('admin:plugins:category:inactive'),
'bundled' => elgg_echo('admin:plugins:category:bundled'),
'nonbundled' => elgg_echo('admin:plugins:category:nonbundled'),
)
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21

Definition at line 114 of file plugins.php.

foreach ($installed_plugins as $id=> $plugin) $guids = array()

Definition at line 75 of file plugins.php.

$installed_plugins = elgg_get_plugins('any')

Definition at line 17 of file plugins.php.

$show_category = get_input('category', 'all')

Definition at line 18 of file plugins.php.

$sort = get_input('sort', 'priority')

Definition at line 19 of file plugins.php.

if (!array_key_exists($sort, $sort_options)) $sort_form
Initial value:
= elgg_view_form('admin/plugins/sort', array(
'action' => 'admin/plugins',
'method' => 'get',
'disable_security' => true,
), array(
'sort' => $sort,
'sort_options' => $sort_options,
'category' => $show_category,
))
$sort_options
Definition: plugins.php:139
$sort
Definition: plugins.php:19
elgg_view_form($action, $form_vars=array(), $body_vars=array())
Definition: views.php:1313
$show_category
Definition: plugins.php:18

Definition at line 149 of file plugins.php.

$sort_options
Initial value:
= array(
'priority' => elgg_echo('sort:priority'),
'alpha' => elgg_echo('sort:alpha'),
'date' => elgg_echo('sort:newest'),
)
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21

Definition at line 139 of file plugins.php.

if($show_category== 'all'&&$sort== 'priority')

Definition at line 193 of file plugins.php.