You are here

public function Messaging_Message::__toString in Messaging 6.3

Same name and namespace in other branches
  1. 6.4 includes/messaging_message.class.inc \Messaging_Message::__toString()
  2. 7 messaging.message.inc \Messaging_Message::__toString()

File

classes/messaging_message.class.inc, line 357
Drupal Messaging Framework - Default class file

Class

Messaging_Message
Message class

Code

public function __toString() {
  $subject = $this->subject ? check_plain($this->subject) : '<none>';
  return "Message: method={$this->method}, destination={$this->destination}, subject={$subject}";
}