You are here

function Notifications_Subscription::get_destination in Notifications 6.4

Same name and namespace in other branches
  1. 7 notifications.subscription.inc \Notifications_Subscription::get_destination()

Get destination object

1 call to Notifications_Subscription::get_destination()
Notifications_Subscription::check_destination in includes/notifications_subscription.class.inc
Check destination or create it if new

File

includes/notifications_subscription.class.inc, line 644
Drupal Notifications Framework - Default class file

Class

Notifications_Subscription
Message destination class

Code

function get_destination() {
  if (!isset($this->destination_object)) {
    $this->destination_object = !empty($this->mdid) ? Messaging_Destination::load($this->mdid) : FALSE;
  }
  return $this->destination_object;
}