_beginTransaction example



    /** * Leave autocommit mode and begin a transaction. * * @return Zend_Db_Adapter_Abstract */
    public function beginTransaction()
    {
        $this->_connect();
        $q = $this->_profiler->queryStart('begin', Zend_Db_Profiler::TRANSACTION);
        $this->_beginTransaction();
        $this->_profiler->queryEnd($q);

        return $this;
    }

    /** * Commit a transaction and return to autocommit mode. * * @return Zend_Db_Adapter_Abstract */
    public function commit()
    {
Home | Imprint | This part of the site doesn't use cookies.