Elgg  Version 3.0
filter.php File Reference

Go to the source code of this file.


 $filter = elgg_extract('filter', $vars)
 Layout content filter. More...

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.