You are here

function Messaging_Template::get_objects in Messaging 7

Same name and namespace in other branches
  1. 6.3 messaging_template/messaging_template.inc \Messaging_Template::get_objects()

Get objects from this template (include parent's ones)

2 calls to Messaging_Template::get_objects()
Messaging_Template::get_tokens in messaging_template/messaging_template.inc
Get tokens for templates
Messaging_Template::token_replace in messaging_template/messaging_template.inc
Do token replacement with this template's objects

File

messaging_template/messaging_template.inc, line 295
Drupal Messaging Framework - Text filtering functions

Class

Messaging_Template
Base template class

Code

function get_objects() {
  $objects = isset($this->objects) ? $this->objects : array();
  if (isset($this->parent)) {
    $objects += $this->parent
      ->get_objects();
  }
  return $objects;
}