You are here

public function Messaging_Message::render in Messaging 6.4

Same name and namespace in other branches
  1. 6.3 classes/messaging_message.class.inc \Messaging_Message::render()
  2. 7 messaging.message.inc \Messaging_Message::render()

Render through sending method

2 calls to Messaging_Message::render()
Messaging_Message::get_body in includes/messaging_message.class.inc
Get rendered body
Messaging_Message::get_subject in includes/messaging_message.class.inc
Get rendered subject

File

includes/messaging_message.class.inc, line 188
Drupal Messaging Framework - Message class file

Class

Messaging_Message
Message class

Code

public function render() {
  $this
    ->prepare();
  if (empty($this->rendered)) {
    $this
      ->send_method()
      ->message_render($this);
    $this->rendered = time();
  }
}