Vous pouvez commenter/noter en utilisant le compte
anonymous (mot de passe:
anonymous)
You can comment/rate using the
anonymous account (password:
anonymous).
Snippets taggés : "catch"
// Debut de la transaction
$con = Propel::getConnection();
$con->begin();
try
{
$this->shop_ribs->saveShopRibsFromRequest($shop_ribs_form);
$this->shop->setShopRibs($this->shop_ribs);
$this->shop->save();
$con->commit();
}
catch (Exception $e)
{
$con->rollback();
$this->getRequest()->setError('error', $this->getContext()->getI18N()->__('Une erreur est survenue pendant l\'enregistrement, veuillez essayer d\'ici quelques minutes.'));
}