*/
var $template_engine = '';
+ /**
+ * The content type for this template set
+ */
+ var $content_type = '';
+
/**
* The fall-back template ID
*
= Template::calculate_template_file_directory($this->fallback_template_set_id);
+ // determine content type, defaulting to text/html
+ //
+ $this->content_type = Template::get_template_config($this->template_set_id,
+ 'content_type',
+ 'text/html');
+
+
// determine template engine
// FIXME: assuming PHP template engine may not necessarily be a good thing
//
}
+ /**
+ * Return the content-type for this template set.
+ *
+ * @return string The content-type.
+ *
+ */
+ function get_content_type() {
+
+ return $this->content_type;
+
+ }
+
/**
* Get template set config setting
*