You are here

public function Messaging_Message_Text::render in Messaging 7

Render message parts

Overrides Messaging_Message_Render::render

File

./messaging.text.inc, line 83
Basic message templates and theming

Class

Messaging_Message_Text
Very simple template with plain subject, header, content, footer texts

Code

public function render() {
  $args = func_get_args();
  $args = $args ? $args : array(
    'subject',
    'body',
  );
  $build = $this
    ->build_parts($args);
  return drupal_render($build);
}