26 $options[
'class'] =
'elgg-state-selected';
33 'class' => [
'elgg-admin-plugins-categories',
'elgg-admin-sidebar-menu',
'elgg-menu-hz'],
37 'id' =>
'plugins-filter',
elgg_view_module(string $type, string $title, string $body, array $vars=[])
Wrapper function for the module display pattern.
$categories
Category filter for plugins.
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
elgg_strtolower()
Wrapper function for mb_strtolower().
if(empty($categories)) $input_filter
elgg_extract($key, $array, $default=null, bool $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_url(string $href, string $text=null, array $options=[])
Helper function for outputting urls.
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.