19 $key = preg_replace(
'/[^a-z0-9-]/i',
'-',
$key);
31 'class' =>
'elgg-admin-plugins-categories elgg-admin-sidebar-menu elgg-menu-hz',
36 'id' =>
'plugins-filter',
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
$categories
Category filter for plugins.
elgg_format_element($tag_name, array $attributes=array(), $text= '', array $options=array())
Format an HTML element.
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.
foreach($categories as $key=> $category) $body
elgg_view_module($type, $title, $body, array $vars=array())
Wrapper function for the module display pattern.
if(empty($categories)) $list_items