public function getTemplate() { $tmpl = Symphony::Database()->fetchCol('template', 'SELECT template from tbl_email_newsletters where id = \'' . $this->getId() . '\''); try { $template = EmailTemplateManager::load($tmpl[0]); } catch (Exception $e) { } return $template; }