Example #1
0
 protected function _getDataProducts()
 {
     $data = parent::_getDataProducts();
     foreach ($data as &$row) {
         $row['product_id'] = new Db\Expr('NEXTVAL FOR ' . $this->_db->quoteIdentifier('zfproducts_seq', true));
     }
     return $data;
 }
Example #2
0
 public function createView()
 {
     parent::dropView();
     parent::createView();
 }