Elgg
Version master
|
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 |
$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 |
Definition at line 32 of file widget.php.