/** * Set the default model, get tables. */ public function init() { $this->_helper->db->setDefaultModelName('NeatlineRecord'); $this->_exhibits = $this->_helper->db->getTable('NeatlineExhibit'); $this->_records = $this->_helper->db->getTable('NeatlineRecord'); parent::init(); }
/** * Set the controller model. */ public function init() { $this->_helper->db->setDefaultModelName('Item'); parent::init(); }