cakephp2-php8/lib/Cake/Model
Haithem BEN GHORBAL 31615ce415 add 'atomic' option to "save()" API
This commit adds a transaction context to 'save()' API in order to rollback
possible modifications done in some 'Model.beforeSave' listener callback.
This will allow cakephp 2.x to behave like 3.0 .
It uses try/catch to better handle transaction.
Previous save() API is renamed to protected _doSave() method.
A new save() method is created for transaction handling.
'atomic' option is disabled for internal 'save()' call.
2014-06-03 09:37:17 +02:00
..
Behavior Added $type as an argument. 2014-05-12 12:08:06 +02:00
Datasource Optimize renew(). 2014-05-22 14:28:56 -04:00
Validator closes #3303 RFC: Rename Validator::between() into Validator::length() 2014-05-13 09:31:03 +02:00
AclNode.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
Aco.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
AcoAction.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
Aro.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
BehaviorCollection.php More coding standard corrections. 2014-04-29 14:19:33 +02:00
CakeSchema.php More coding standard corrections. 2014-04-29 14:19:33 +02:00
ConnectionManager.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
I18nModel.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
Model.php add 'atomic' option to "save()" API 2014-06-03 09:37:17 +02:00
ModelBehavior.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
ModelValidator.php closes #3303 RFC: Rename Validator::between() into Validator::length() 2014-05-13 09:31:03 +02:00
Permission.php Merge branch 'master' into 2.5 2014-02-11 18:17:59 +05:30