Elgg  Version 3.0
Variables
add_panel.php File Reference

Go to the source code of this file.

Variables

 $context_stack = get_input('context_stack')
 
 $context = elgg_extract('context', $vars, get_input('context'))
 
 $owner_guid = (int) elgg_extract('owner_guid', $vars, (int) get_input('owner_guid'))
 
 $owner = get_entity($owner_guid)
 
 $widgets = elgg_get_widgets($owner->guid, $context)
 
 $widget_types
 
 $current_handlers = []
 
foreach($widgets as $column_widgets) $result
 
 $list_items = ''
 

Variable Documentation

$context = elgg_extract('context', $vars, get_input('context'))

Definition at line 19 of file add_panel.php.

$context_stack = get_input('context_stack')

Definition at line 12 of file add_panel.php.

$current_handlers = []

Definition at line 36 of file add_panel.php.

$list_items = ''

Definition at line 47 of file add_panel.php.

$owner = get_entity($owner_guid)

Definition at line 23 of file add_panel.php.

$owner_guid = (int) elgg_extract('owner_guid', $vars, (int) get_input('owner_guid'))

Definition at line 20 of file add_panel.php.

foreach ($widget_types as $handler=> $widget_type) $result
Initial value:
'class' => 'elgg-text-help',
], elgg_echo('widgets:add:description'))
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
Definition: output.php:168

Definition at line 43 of file add_panel.php.

$widget_types
Initial value:
'context' => $context,
'container' => $owner,
])
$context
Definition: add_panel.php:19
elgg_get_widget_types($context="")
Get the widget types for a context.
Definition: widgets.php:130
$owner
Definition: add_panel.php:23

Definition at line 28 of file add_panel.php.

$widgets = elgg_get_widgets($owner->guid, $context)

Definition at line 27 of file add_panel.php.