You are here

protected function Messaging_Template_Engine::get_keys in Messaging 6.3

Get part keys for a given template

File

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

Class

Messaging_Template_Engine
Static template functions that interact with the module API

Code

protected function get_keys($type) {
  if (!isset(self::$keys[$type])) {
    self::$keys[$type] = messaging_template_get_keys($type);
  }
  return array_keys(self::$keys[$type]);
}