You are here

function og_handler_relationship_membership_roles::query in Organic groups 7.2

Called to implement a relationship in a query.

Overrides views_handler_relationship::query

File

includes/views/handlers/og_handler_relationship_membership_roles.inc, line 13

Class

og_handler_relationship_membership_roles
Specialized relationship handler between OG membership and the OG user roles.

Code

function query() {

  // Set our join handler class.
  // We can't add an extra condition to the join as an expression here because
  // we don't have the alias for the right hand table here.
  $this->definition['join_handler'] = 'og_users_roles_join';
  parent::query();
}