public function Messaging_Template::build in Messaging 7
Same name and namespace in other branches
- 6.3 messaging_template/messaging_template.inc \Messaging_Template::build()
Build all elements, return array
Parameters
$part1, $part2...: Optional parts to render
File
- messaging_template/
messaging_template.inc, line 176 - Drupal Messaging Framework - Text filtering functions
Class
- Messaging_Template
- Base template class
Code
public function build() {
$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 an array with each of the parts
return $this
->build_parts($parts);
}