function Messaging_Template::get_objects in Messaging 6.3
Same name and namespace in other branches
- 7 messaging_template/messaging_template.inc \Messaging_Template::get_objects()
Get template objects, included parent's objects
1 call to Messaging_Template::get_objects()
- Messaging_Template::render in messaging_template/
messaging_template.inc - Render all template elements
File
- messaging_template/
messaging_template.inc, line 441 - Base classes for messaging templates
Class
- Messaging_Template
- Messaging Template class
Code
function get_objects($get_parent = FALSE) {
if ($get_parent && isset($this->parent)) {
return $this->objects + $this->parent
->get_objects();
}
else {
return $this->objects;
}
}