Fork me on GitHub

transaction in zikula  Bottom

  • is there a way to do transaction with zikula ?

    Something like this ?

    Code

    DBUtil::startTransaction();
    try {
     
     ....

        $offer= new Offer();
    $offer->save();
     ...

     DBUtil::commit();
     } catch (Exception $e) {
     DBUtil::rollback();
    }


    thanks in advanced



    edited by: mumuri, Feb 05, 2009 - 03:11 PM

This list is based on users active over the last 60 minutes.