You are here

function Messaging_Message::check_destination in Messaging 7

Same name and namespace in other branches
  1. 6.4 includes/messaging_message.class.inc \Messaging_Message::check_destination()

Get a list of destinations for current method

1 call to Messaging_Message::check_destination()
Messaging_Message::do_prepare in ./messaging.message.inc
Prepare for sending through given method

File

./messaging.message.inc, line 293
Drupal Messaging Framework - Message class file

Class

Messaging_Message
Message class

Code

function check_destination() {
  if (empty($this->method) || empty($this->destination[$this->method])) {
    return FALSE;
  }
  else {
    return TRUE;
  }
}