cakephp2-php8/lib/Cake
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
..
Cache Add addtional options array for memcached. 2014-05-23 22:29:03 -04:00
Config Updated the default Cake routes to include a defaultRoute true flag to allow differentiation 2014-05-29 00:55:51 -04:00
Configure Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
Console Merge branch 'master' into 2.6 2014-05-27 20:55:06 -04:00
Controller Reverse conditions to make the cheapest condition first. 2014-05-12 22:09:27 -04:00
Core test failed. reverted and corrected doc block instead for BC. 2014-05-08 01:52:48 +02:00
Error Merge branch 'master' into 2.5 2014-05-04 14:35:36 +05:30
Event Make dispatch return CakeEvent - resolves #2819 2014-04-06 21:17:51 +02:00
I18n Introduced I18n category constants (#1894) 2014-03-23 17:00:17 +01:00
Log Merge branch 'master' into 2.5 2014-05-04 14:35:36 +05:30
Model add 'atomic' option to "save()" API 2014-06-03 09:37:17 +02:00
Network Fix incorrect status line parsing in HttpSocketResponse. 2014-05-21 21:53:18 -04:00
Routing Merge branch 'master' into 2.5 2014-05-04 14:35:36 +05:30
Test add 'atomic' option to "save()" API 2014-06-03 09:37:17 +02:00
TestSuite Updated the test suite dispatcher to allow use of PHPUnit from Composer 2014-05-14 09:09:53 +07:00
Utility Merge pull request #3478 from Schlaefer/#3303-lengthBetween 2014-05-24 16:48:05 -04:00
View Don't disable the entire select when disabled is array(1) 2014-05-23 13:26:11 -04:00
basics.php Merge branch 'master' into 2.5 2014-04-06 21:50:41 +02:00
bootstrap.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
LICENSE.txt Formatted CSF address 2013-02-08 21:08:15 +09:00
VERSION.txt Update version number to 2.5.1 2014-05-17 22:39:27 -04:00