| 
    Elgg
    Version 1.12
    
   | 
 
Go to the source code of this file.
Variables | |
| $widget = $vars['entity'] | |
| Widget object.  More... | |
| if(!elgg_instanceof($widget, 'object', 'widget')) | $show_access = elgg_extract('show_access', $vars, true) | 
| $widget_types = elgg_get_widget_types('all') | |
| $handler = $widget->handler | |
| $title = $widget->getTitle() | |
| $edit_area = '' | |
| $can_edit = $widget->canEdit() | |
| if($can_edit) | $controls | 
| $content = elgg_view('object/widget/elements/content', $vars) | |
| $widget_id = "elgg-widget-$widget->guid" | |
| $widget_instance = preg_replace('/[^a-z0-9-]/i', '-', "elgg-widget-instance-$handler") | |
| if($can_edit) | else | 
| $additional_class = elgg_extract('class', $vars, '') | |
| if($additional_class) | $widget_header = | 
| $widget_body = | |
| $additional_class = elgg_extract('class', $vars, '') | 
Definition at line 47 of file widget.php.
| $can_edit = $widget->canEdit() | 
Definition at line 25 of file widget.php.
Definition at line 37 of file widget.php.
| if ( $can_edit) $controls | 
Definition at line 32 of file widget.php.
| $edit_area = '' | 
Definition at line 24 of file widget.php.
| $handler = $widget->handler | 
Definition at line 20 of file widget.php.
| if (!elgg_instanceof( $widget, 'object', 'widget')) $show_access = elgg_extract('show_access', $vars, true) | 
Definition at line 15 of file widget.php.
Definition at line 22 of file widget.php.
Widget object.
@uses $vars['entity'] ElggWidget @uses $vars['show_access'] Show the access control in edit area? (true) @uses $vars['class'] Optional additional CSS class
Definition at line 10 of file widget.php.
| $widget_body = | 
Definition at line 58 of file widget.php.
| if ( $additional_class) $widget_header = | 
Definition at line 52 of file widget.php.
Definition at line 39 of file widget.php.
Definition at line 40 of file widget.php.
| $widget_types = elgg_get_widget_types('all') | 
Definition at line 18 of file widget.php.
| if ( $can_edit) else | 
Definition at line 43 of file widget.php.