/** * Initialize email template resource model * */ protected function _construct() { parent::_construct(); $this->_init('bronto_email/template', 'template_id'); $this->_setMainTable('core/email_template', 'template_id'); }