コード例 #1
0
ファイル: RecordsController.php プロジェクト: saden1/Neatline
 /**
  * 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();
 }
コード例 #2
0
ファイル: ItemsController.php プロジェクト: saden1/Neatline
 /**
  * Set the controller model.
  */
 public function init()
 {
     $this->_helper->db->setDefaultModelName('Item');
     parent::init();
 }