You are here

function Messaging_Template::get_part in Messaging 6.3

Get template part, FALSE if not found

1 call to Messaging_Template::get_part()
Messaging_Template::text_part in messaging_template/messaging_template.inc
Get template text part, FALSE if not found

File

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

Class

Messaging_Template
Messaging Template class

Code

function get_part($key, $type = NULL, $method = NULL, $language = NULL) {
  return self::get_template_part($key, $type ? $type : $this->type, $method ? $method : $this
    ->get_method(), $language ? $language : $this
    ->get_language());
}