public function getTemplate() { $tmpl = null; if (null !== $this->templateFile) { $tmpl = $this->templateFile; } else { if (null !== $this->templateString) { $tmpl = $this->templateString; } } return $tmpl; }