Elgg  Version 2.3
Variables
add_panel.php File Reference

Go to the source code of this file.

Variables

 $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())
 
 $widget_types
 
 $current_handlers = array()
 
 foreach ( $widgets as $column_widgets)
 

Variable Documentation

◆ $container

Definition at line 14 of file add_panel.php.

◆ $context

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

Definition at line 12 of file add_panel.php.

◆ $current_handlers

$current_handlers = array()

Definition at line 25 of file add_panel.php.

◆ $exact

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

Definition at line 13 of file add_panel.php.

◆ $widget_types

$widget_types
Initial value:
'context' => $context,
'exact' => $exact,
'container' => $container,
])
$exact
Definition: add_panel.php:13
$container
Definition: add_panel.php:14
$context
Definition: add_panel.php:12
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.

◆ $widgets

Widget add panel.

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

Definition at line 11 of file add_panel.php.

◆ foreach

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

Definition at line 26 of file add_panel.php.