You are here

function domain_views_handler_argument_domain_access_gid::summary_argument in Domain Views 7

Provide the argument to use to link from the summary to the next level.

This will be called once per row of a summary, and used as part of $view->get_url().

Parameters

object $data: The query results for the row.

Overrides views_handler_argument::summary_argument

File

includes/domain_views_handler_argument_domain_access_gid.inc, line 31
Interface between domain_views.module and views.module.

Class

domain_views_handler_argument_domain_access_gid
Argument for domain ids stored in the database currently active domain and any domain.

Code

function summary_argument($data) {
  return $this
    ->get_domain_id($data->{$this->name_alias});
}