function Messaging_Message::send in Messaging 6.3
Same name and namespace in other branches
- 6.4 includes/messaging_message.class.inc \Messaging_Message::send()
- 7 messaging.message.inc \Messaging_Message::send()
Send message using method, destination
File
- classes/
messaging_message.class.inc, line 129 - Drupal Messaging Framework - Default class file
Class
- Messaging_Message
- Message class
Code
function send() {
if (!empty($this->test)) {
// We are doing a test run so we don't send the message
$this
->test();
$this->result = TRUE;
}
else {
// Run full processing, will end up on send, queue or error
$this
->process();
$this
->done();
}
return $this->result;
}