17 $widget_instance = preg_replace(
'/[^a-z0-9-]/i',
'-',
"elgg-widget-instance-$handler");
24 'id' =>
"elgg-widget-$widget->guid",
elgg_extract_class(array $array, $existing=[])
Extract class names from an array with key "class", optionally merging into a preexisting set...
elgg echo
Translates a string.
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=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.
elgg_view_module($type, $title, $body, array $vars=array())
Wrapper function for the module display pattern.