You are here

function casetracker_views_handler_argument_priority::summary_name in Case Tracker 7

Same name and namespace in other branches
  1. 6 includes/casetracker_views_handler_argument_priority.inc \casetracker_views_handler_argument_priority::summary_name()

Provides the name to use for the summary.

By default this is just the name field.

Parameters

object $data: The query results for the row.

Return value

string The summary.

Overrides views_handler_argument::summary_name

File

includes/casetracker_views_handler_argument_priority.inc, line 9

Class

casetracker_views_handler_argument_priority
Argument handler for case priority.

Code

function summary_name($data) {
  if (!isset($this->case_priority_options)) {
    $this->case_priority_options = casetracker_realm_load('priority');
  }
  return $this->case_priority_options[$data->{$this->name_alias}];
}