Ejemplo n.º 1
0
 /**
  * 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();
 }
Ejemplo n.º 2
0
 /**
  * Set the controller model.
  */
 public function init()
 {
     $this->_helper->db->setDefaultModelName('Item');
     parent::init();
 }