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',
$categories
Category filter for plugins.
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
if(!$item instanceof ElggEntity) $link
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
elgg_view_module($type, $title, $body, array $vars=[])
Wrapper function for the module display pattern.
elgg echo
Translates a string.
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
if($container instanceof ElggGroup &&$container->guid!=elgg_get_page_owner_guid()) $key
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
if(empty($categories)) $list_items