Elgg  Version 3.0
Namespaces | Variables
default_widgets.php File Reference

Go to the source code of this file.

Namespaces

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

Variables

 $widget_context = get_input('widget_context')
 
 $list = elgg_trigger_plugin_hook('get_list', 'default_widgets', null, [])
 
if(!$widget_context &&$list) $current_info = null
 
 $tabs = []
 
foreach($list as $info) $tabs_vars
 
if(!$current_info) else
 
 $content
 

Variable Documentation

$content
Initial value:
= elgg_view_layout('widgets', [
'num_columns' => $current_info['widget_columns'],
])
if(!$widget_context &&$list) $current_info
elgg_view_layout($layout_name, $vars=[])
Displays a layout with optional parameters.
Definition: views.php:593

Definition at line 49 of file default_widgets.php.

if (!$widget_context &&$list) $current_info = null

Definition at line 18 of file default_widgets.php.

$list = elgg_trigger_plugin_hook('get_list', 'default_widgets', null, [])
Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 11 of file default_widgets.php.

$tabs = []

Definition at line 19 of file default_widgets.php.

foreach ($list as $info) $tabs_vars
Initial value:
= [
'tabs' => $tabs
]

Definition at line 34 of file default_widgets.php.

$widget_context = get_input('widget_context')

Definition at line 10 of file default_widgets.php.

if (!$current_info) else
Initial value:
{
elgg_set_page_owner_guid($guid)
Set the guid of the entity that owns this page.
Definition: pageowner.php:81

Definition at line 44 of file default_widgets.php.