You are here

function Messaging_Message::set_status in Messaging 7

Set success status and return status check

6 calls to Messaging_Message::set_status()
Messaging_Message::do_build in ./messaging.message.inc
Check parameters and go for alter hook
Messaging_Message::do_dispatch in ./messaging.message.inc
Check whether the message is to be sent / queued
Messaging_Message::do_prepare in ./messaging.message.inc
Prepare for sending through given method
Messaging_Message::do_queue in ./messaging.message.inc
Queue message using sending method
Messaging_Message::do_send in ./messaging.message.inc
Send message through sending method

... See full list

File

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

Class

Messaging_Message
Message class

Code

function set_status($status) {
  $this->status = $status;
  $this->result = TRUE;
  return $this
    ->check_status();
}