You are here

function notifications_views_handler_relationship::query in Notifications 7

Same name and namespace in other branches
  1. 6.4 notifications_views/notifications_views_handler_relationship.inc \notifications_views_handler_relationship::query()
  2. 6 notifications_views/notifications_views_handler_relationship.inc \notifications_views_handler_relationship::query()
  3. 6.2 notifications_views/notifications_views_handler_relationship.inc \notifications_views_handler_relationship::query()
  4. 6.3 notifications_views/notifications_views_handler_relationship.inc \notifications_views_handler_relationship::query()

Called to implement a relationship in a query.

Overrides views_handler_relationship::query

File

notifications_views/includes/notifications_views_handler_relationship.inc, line 5

Class

notifications_views_handler_relationship

Code

function query() {
  $oldfield = $this->field;
  $this->field = $this->real_field;
  parent::query();
  $this->field = $oldfield;
}