40 $widget_instance = preg_replace(
'/[^a-z0-9-]/i',
'-',
"elgg-widget-instance-$handler");
53 <
div class=
"elgg-widget-handle clearfix"><
h3 class=
"elgg-widget-title">
$title</
h3>
60 <div
class=
"elgg-widget-content" id=
"elgg-widget-content-$widget->guid">
elgg_view_module($type, $title, $body, array $vars=array())
Wrapper function for the module display pattern.
elgg_instanceof($entity, $type=null, $subtype=null, $class=null)
Checks if $entity is an and optionally for type and subtype.
elgg echo
Translates a string.
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
if(elgg_can_edit_widget_layout($context)) if(isset($vars['content'])) $widget_class
if(file_exists($welcome)) $vars