You are here

function Messaging_Template::get_content in Messaging 6.3

Get all text parts as array

Overrides Messaging_Template_Element::get_content

1 call to Messaging_Template::get_content()
Messaging_Template::get_text in messaging_template/messaging_template.inc
Get text elements as array

File

messaging_template/messaging_template.inc, line 384
Base classes for messaging templates

Class

Messaging_Template
Messaging Template class

Code

function get_content($method, $language) {
  $this
    ->render($method, $language);
  return isset($this->texts[$method][$language->language]) ? $this->texts[$method][$language->language] : NULL;
}