Juan Basso
|
c52d5320c8
|
Replaced the *printf with i18n aliases by i18n aliases with params.
|
2010-12-04 23:37:13 -02:00 |
|
mark_story
|
8aabf3689e
|
Making BehaviorCollection more consistent with other object collections.
Fixing failing tests caused by not being updated when behavior changed.
|
2010-11-21 14:42:13 -05:00 |
|
mark_story
|
3216c902cd
|
Removing the enable parameter on HelperCollection, BehaviorCollection, and ComponentCollection. They all now support the enabled option that Behaviors have historically supported. This provides a simpler API with fewer arguments, and allows callbacks to be disabled on objects in their declared arrays.
Test cases updated.
|
2010-11-07 13:23:45 -05:00 |
|
mark_story
|
88c717dbd8
|
Removing the 3rd param from ObjectCollection::load() and adding a uniform setting of 'callbacks'. This setting is used to disable callbacks on objects by convention. Test cases updated.
|
2010-11-07 13:23:45 -05:00 |
|
mark_story
|
e4d34b640b
|
Merge branch '2.0-exceptions' into 2.0
Conflicts:
cake/libs/error.php
cake/tests/cases/libs/controller/scaffold.test.php
cake/tests/cases/libs/error.test.php
|
2010-09-10 20:31:16 -04:00 |
|
Mark Story
|
464d2217e6
|
Renaming model_behavior test to behavior_collection test as that's the class that contains the tested methods.
|
2010-09-06 13:51:42 -04:00 |
|
Mark Story
|
5789aaf24d
|
Applying patch from 'tkykmw'. Behavior mapped methods are no longer run through strtolower(). Mapped methods are now case sensitive. Fixes #318
|
2010-09-06 13:38:01 -04:00 |
|
mark_story
|
f1164c93d6
|
Updating the various CakeExceptions to take arrays in their constructors. This allows for the existing templates to continue working, as well as generalize the way in which errors are handled. This change also makes the messages coming out of exceptions more readable and removes string hackery.
|
2010-08-29 21:37:25 -04:00 |
|
mark_story
|
dc67b9cacc
|
Moving all the exceptions into one file for the short term.
|
2010-08-28 00:08:35 -04:00 |
|
mark_story
|
c44c276fa3
|
Removing ModelBehavior::dispatchMethod(), replacing with call_user_func_array() as its faster and the php4 workaround is no longer needed.
|
2010-08-10 23:18:39 -04:00 |
|
mark_story
|
409b12954b
|
Simplifying logic and data structures used to store enabled-ness of objects in an object collection.
|
2010-08-10 23:18:39 -04:00 |
|
mark_story
|
b2250852e4
|
Moving BehaviorCollection into its own file.
Changing how behaviors are stored in the collection object. Makes it work the same as HelperCollection.
|
2010-08-10 23:18:39 -04:00 |
|