Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Namespaces | Variables
default_widgets.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Variables

 $widget_context = get_input('widget_context')
 
 $list = elgg_trigger_plugin_hook('get_list', 'default_widgets', null, array())
 
if(!$widget_context &&$list) $current_info = null
 
 $tabs = array()
 
foreach($list as $info) $tabs_vars
 
if(!$current_info) else
 
 $default_widgets_input
 
 $params
 
 $content = elgg_view_layout('widgets', $params)
 

Variable Documentation

$content = elgg_view_layout('widgets', $params)

Definition at line 60 of file default_widgets.php.

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

Definition at line 18 of file default_widgets.php.

$default_widgets_input
Initial value:
= elgg_view('input/hidden', array(
'name' => 'default_widgets',
'value' => 1
))
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342

Definition at line 50 of file default_widgets.php.

$list = elgg_trigger_plugin_hook('get_list', 'default_widgets', null, array())

Definition at line 11 of file default_widgets.php.

$params
Initial value:
= array(
'content' => $default_widgets_input,
'num_columns' => $current_info['widget_columns'],
)
if(!$widget_context &&$list) $current_info
$default_widgets_input

Definition at line 55 of file default_widgets.php.

$tabs = array()

Definition at line 19 of file default_widgets.php.

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

Definition at line 35 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_get_config($name, $site_guid=0)
Get an Elgg configuration value.
elgg_set_page_owner_guid($guid)
Set the guid of the entity that owns this page.
Definition: pageowner.php:72

Definition at line 45 of file default_widgets.php.