Elgg  Version master
Variables
widget.php File Reference

Go to the source code of this file.

Variables

 $widget = elgg_extract('entity', $vars)
 Widget object. More...
 
if(!$widget instanceof\ElggWidget) $widget_instance = preg_replace('/[^a-z0-9-]/i', '-', "elgg-widget-instance-{$widget->handler}")
 
 $widget_class = elgg_extract_class($vars, $widget_instance)
 
 $body = ''
 
if($widget->canEdit()) else
 

Variable Documentation

$body = ''

Definition at line 18 of file widget.php.

$widget = elgg_extract('entity', $vars)

Widget object.

$vars['entity'] ElggWidget $vars['show_access'] Show the access control in edit area? (true) $vars['class'] Optional additional CSS class

Definition at line 10 of file widget.php.

$widget_class = elgg_extract_class($vars, $widget_instance)

Definition at line 16 of file widget.php.

if (!$widget instanceof\ElggWidget) $widget_instance = preg_replace('/[^a-z0-9-]/i', '-', "elgg-widget-instance-{$widget->handler}")

Definition at line 15 of file widget.php.

if ($widget->canEdit()) else
Initial value:
{
$widget_class[] = 'elgg-state-fixed'
$widget_class
Definition: widget.php:16

Definition at line 32 of file widget.php.