Elgg  Version 6.1
Variables
filter.php File Reference

Go to the source code of this file.

Variables

 $filter = elgg_extract('filter', $vars)
 Layout content filter. More...
 
if($filter===false||$filter=== '') if(!isset($filter)||is_array($filter)) if (!$filter)
 

Variable Documentation

$filter = elgg_extract('filter', $vars)

Layout content filter.

$vars['filter'] - false or '' for no filter

  • a string for self defined filter content
  • null will render a filter menu
  • an optional array of filter tabs Array items should be suitable for usage with elgg_register_menu_item() $vars['filter_id'] An optional ID of the filter If provided, plugins can adjust filter tabs menu via 'register, menu:filter:$filter_id' hook $vars['filter_value'] Optional name of the selected filter tab If not provided, will be determined by current page's URL

Definition at line 18 of file filter.php.

if ($filter===false||$filter=== '') if (!isset($filter)||is_array($filter)) if(!$filter)

Definition at line 29 of file filter.php.