function Messaging_Message::render in Messaging 6.3
Same name and namespace in other branches
- 6.4 includes/messaging_message.class.inc \Messaging_Message::render()
- 7 messaging.message.inc \Messaging_Message::render()
Render the message for sending method
4 calls to Messaging_Message::render()
- Messaging_Message::post in classes/
messaging_message.class.inc - Actual message sending through sending method
- Messaging_Message::queue in classes/
messaging_message.class.inc - Messaging_Message::save in classes/
messaging_message.class.inc - Save to store / update
- Messaging_Message::test in classes/
messaging_message.class.inc - Testing message, just log data
File
- classes/
messaging_message.class.inc, line 115 - Drupal Messaging Framework - Default class file
Class
- Messaging_Message
- Message class
Code
function render() {
if (!$this->rendered) {
if (isset($this->template)) {
$this->subject = $this->template
->get_subject($this->method, $this
->get_language());
$this->body = $this->template
->get_body($this->method, $this
->get_language());
}
$this
->method_invoke('render');
$this->rendered = TRUE;
}
}