function Messaging_Send_Method::message_render in Messaging 6.4
Same name and namespace in other branches
- 6.3 classes/messaging_method.class.inc \Messaging_Send_Method::message_render()
- 7 messaging.method.inc \Messaging_Send_Method::message_render()
Renders full message with header and body
Parameters
$message: Message object
File
- includes/
messaging_method.class.inc, line 343 - Drupal Messaging Framework - Send_Method class file
Class
- Messaging_Send_Method
- Sending method, implements all specific method functionality
Code
function message_render($message) {
if ($function = $this
->get_info('render callback')) {
return $function($message, $this
->get_info());
}
else {
return $this
->default_render($message, $this
->get_info());
}
}