static function Messaging_Template_Engine::get_info in Messaging 6.3
Get template type info
1 call to Messaging_Template_Engine::get_info()
- Messaging_Template_Engine::create_template in messaging_template/
messaging_template.inc - Create template, just allowed types
File
- messaging_template/
messaging_template.inc, line 46 - Base classes for messaging templates
Class
- Messaging_Template_Engine
- Static template functions that interact with the module API
Code
static function get_info($type) {
if (!isset(self::$info)) {
self::$info = messaging_template_info(NULL, NULL);
}
return isset(self::$info[$type]) ? self::$info[$type] : NULL;
}