Agence de Développement Informatique du Nord

Just another WordPress site

Main menu

Skip to primary content
Skip to secondary content
  • Home

Tag Archives: transaction

Symfony 1.2 propel & transaction

Posted on August 13, 2013 by blogadmin
Reply

Using transactions could be really usefull and it is really easy to use so you have no excuse to not use them :

$con = Propel::getConnection(); //get propel connection
$con->beginTransaction();   //start transaction
//do stuff
$con->commit(); //commit transaction
//or
$con->rollback(); //rollback
Posted in PHP, Propel, Symfony | Tagged transaction | Leave a reply

Recent Posts

  • Magento change title, meta description & keywords
  • Magento – where is calculated available payment method ?
  • Magento – All payment methods
  • Magento – get client’s IP
  • Magento – test abandoned cart email

Archives

  • December 2019
  • December 2018
  • August 2018
  • July 2018
  • May 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • January 2017
  • December 2016
  • October 2016
  • July 2016
  • February 2016
  • January 2016
  • October 2015
  • September 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • October 2014
  • September 2014
  • August 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • October 2012

Categories

  • Apache
  • casperjs
  • Doctrine
  • FPDF
  • Git
  • Hacks
  • HTML
  • Javascript
  • Linux
  • Magento
  • MySQL
  • Pear
  • PHP
  • Prestashop
  • Propel
  • Smarty
  • Sonata
  • SSH
  • Symfony
  • Talend
  • Twig
  • Uncategorized

Tags

.htaccess adminhtml apache apache2 array attribute attribute_set block cacti ckWebServicePlugin configurable product Cookies core_config_data debian doctrine2 dropdown fpdf Frame git grid IE Login magento module MySQL order Override payment method PHP phpMyAdmin Prestashop print_r Propel rrdtool smarty Sonata sort ssh status Symfony Symfony2 template twig unzip validator

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Recent Comments

  • plugin ckWebServicePlugin paramétres vide sujet | usa5 on ckWebServicePlugin empty params
Proudly powered by WordPress