Jeremy Harris
|
65d1c0329c
|
Fixed typo
|
2011-01-09 17:16:44 -08:00 |
|
Jeremy Harris
|
b9143dc7d4
|
Added ControllerTestCase class for testing controllers. Fixes #1244
|
2010-12-14 19:58:27 -08:00 |
|
mark_story
|
bf22af6b7f
|
Fixing more strict errors and usage errors in BehaviorCollection test.
Making modParams only work if the result is an array. This is for compatibility with previous behaviour.
|
2010-12-12 17:42:40 -05:00 |
|
mark_story
|
10c358742b
|
Making modParams ignore null results.
Test added.
|
2010-12-12 15:33:24 -05:00 |
|
mark_story
|
b135e38072
|
Adding documentation.
|
2010-12-12 14:12:55 -05:00 |
|
mark_story
|
96968f7194
|
Moving the modParams option into ObjectCollection, so it can replace the specific trigger method in BehaviorCollection.
Changed how break behaves, so it is works better with modParams and collectReturn options.
Tests updated and expanded.
|
2010-12-12 14:10:22 -05:00 |
|
mark_story
|
1548b7badb
|
Expanding and correcting the doc block for ObjectCollection.
|
2010-12-09 23:22:08 -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
|
7a14d3a8f2
|
Fixing issue where mockObject expectations were not counted hiding fails. Fixing all objects not actually being iterated.
|
2010-09-14 22:40:46 -04:00 |
|
mark_story
|
97dd7c7644
|
Adding support to ObjectCollection and its subclasses to trigger callbacks on all objects instead of just the enabled ones. Fixes issues where inner components would not get access to the controller as the initialize callback wasn't fired. This fixes some backwards compatibility issues. Tests updated.
|
2010-09-14 21:57:40 -04:00 |
|
mark_story
|
45064315d4
|
Fixing a comment.
|
2010-08-11 22:47:20 -04:00 |
|
mark_story
|
74a12940cb
|
Removing incorrect method implementation.
Adding documentation to Component::beforeRedirect()
Adding documentation to ObjectCollection::trigger().
|
2010-08-10 23:45:28 -04:00 |
|
mark_story
|
19f008b1a4
|
Fixing broken tests in HelperCollectionTest
Moving unload into ObjectCollection as its common between 2 child classes, and possibly a 3rd.
|
2010-08-10 23:18:40 -04:00 |
|
mark_story
|
22fbc24560
|
Adding 'collectReturn' option to ObjectCollection::trigger. lets a callback collect the return of each object and return that.
Adding tests.
|
2010-08-10 23:18:40 -04:00 |
|
mark_story
|
337ab19145
|
Updating ObjectCollection::trigger() so it doesn't call __get().
Updating HelperCollection test which was passing by coincidence.
|
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
|
fcbfb556c5
|
Moving loaded helpers into a protected array.
Adding magic methods to access the object array.
|
2010-08-10 23:18:39 -04:00 |
|
mark_story
|
fc3379767d
|
Moving methods around. ObjectCollection now normalizes helpers arrays. Plugin helpers now lazy load.
Tests updated.
|
2010-08-10 23:18:38 -04:00 |
|
mark_story
|
16d5b2655c
|
Adding a way to load helpers in a disabled state. Updating tests and subclasses.
|
2010-08-10 23:18:37 -04:00 |
|
mark_story
|
d0de468ce0
|
Removing options that were not used in the generic application.
|
2010-08-10 23:18:37 -04:00 |
|
mark_story
|
aa61a251dc
|
Deprecating BehaviorCollection::attach() and BehaviorCollection::detach(). load() and unload() are more generic and make sense in other contexts.
Adding base trigger implementation.
Adding tests for helper triggering.
|
2010-08-10 23:18:37 -04:00 |
|
mark_story
|
9fd881cb00
|
Moving methods down and adding some tests.
|
2010-08-10 23:18:36 -04:00 |
|
mark_story
|
6db3dbc680
|
Starting to create HelperCollection which will be responsible for loading and constructing helpers.
Making an abstract class that will be the base of all object collections.
Adding test cases.
|
2010-08-10 23:18:36 -04:00 |
|