Elgg  Version 2.2
add_panel.php File Reference

Go to the source code of this file.


 $widgets = elgg_extract('widgets', $vars)
 Widget add panel. More...
 $context = elgg_extract('context', $vars)
 $exact = elgg_extract('exact_match', $vars, false)
 $container = elgg_extract('container', $vars, elgg_get_page_owner_entity())
 $current_handlers = array()
 foreach ($widgets as $column_widgets)

Variable Documentation

Definition at line 14 of file add_panel.php.

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

Definition at line 12 of file add_panel.php.

$current_handlers = array()

Definition at line 25 of file add_panel.php.

$exact = elgg_extract('exact_match', $vars, false)

Definition at line 13 of file add_panel.php.

Initial value:
'context' => $context,
'exact' => $exact,
'container' => $container,
Definition: add_panel.php:12
Definition: add_panel.php:13
Definition: add_panel.php:14
elgg_get_widget_types($context="", $exact=false)
Get the widget types for a context.
Definition: widgets.php:140

Definition at line 16 of file add_panel.php.

Widget add panel.

$vars['widgets'] Array of current widgets $vars['context'] The context for this widget layout $vars['exact_match'] Only use widgets that match the context $vars['container'] Container to optional limit widgets for. Defaults to page_owner_entity

Definition at line 11 of file add_panel.php.

foreach($widget_types as $handler=> $widget_type)

Definition at line 26 of file add_panel.php.