public function Messaging_Template::render in Messaging 7
Same name and namespace in other branches
- 6.3 messaging_template/messaging_template.inc \Messaging_Template::render()
Render elements, return string
Parameters
$part1, $part2...: Optional parts to render
File
- messaging_template/
messaging_template.inc, line 189 - Drupal Messaging Framework - Text filtering functions
Class
- Messaging_Template
- Base template class
Code
public function render() {
$parts = func_get_args();
// If we don't have a list of parts we take known text parts
$parts = $parts ? $parts : $this
->get_parts();
$build = $this
->build_parts($parts);
return drupal_render($build);
}