Zend_Db_Adapter_Pdo_Abstract::_commit PHP Method

_commit() protected method

Commit a transaction.
protected _commit ( )
    protected function _commit()
    {
        $this->_connect();
        $this->_connection->commit();
    }

Usage Example

コード例 #1
0
 public function _commit()
 {
     parent::_commit();
     /**
      * Auto-Commit must be tunerd on again after ending a transation
      * This is the default behavior
      */
     $this->getConnection()->setAttribute(PDO::ATTR_AUTOCOMMIT, 1);
 }