49 $widget_id =
"elgg-widget-$widget->guid";
50 $widget_instance = preg_replace(
'/[^a-z0-9-]/i',
'-',
"elgg-widget-instance-$handler");
63 <
div class=
"elgg-widget-handle clearfix"><
h3 class=
"elgg-widget-title">
$title</
h3>
70 <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_view_exists($view, $viewtype= '', $recurse=true)
Returns whether the specified view exists.
elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_instanceof($entity, $type=null, $subtype=null, $class=null)
Checks if $entity is an and optionally for type and subtype.
elgg_in_context($context)
Check if this context exists anywhere in the stack.
elgg echo
Translates a string.
elgg_deprecated_notice($msg, $dep_version, $backtrace_level=1)
Log a notice about deprecated use of a function, view, etc.
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
$content
Set robots.txt action.
if(elgg_can_edit_widget_layout($context)) if(isset($vars['content'])) $widget_class
if(file_exists($welcome)) $vars