You are here

function views_handler_filter_heartbeat_access::admin_summary in Heartbeat 6.4

Same name and namespace in other branches
  1. 6.3 views/handlers/views_handler_filter_heartbeat_access.inc \views_handler_filter_heartbeat_access::admin_summary()

Display the filter on the administrative summary. After selecting, let the builder of the view know what he selected

Return value

human title for the access type

File

views/handlers/views_handler_filter_heartbeat_access.inc, line 90
Numeric filter implementation for heartbeat access states. Per stream we can set the view to query differently.

Class

views_handler_filter_heartbeat_access
Class views_handler_filter_heartbeat_access Filter by access type or stream type

Code

function admin_summary() {
  $options = _heartbeat_access_type_options();
  $key = !empty($this->value['access']) ? $this->value['access'] : 'publicheartbeat';
  $return = $options[$key];
  return $return;
}