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
|
1ba28c246b
|
Adding settings['callbacks'] as a way to define enabled/disabled state of helpers in settings arrays. This should replace the separate parameter.
Tests updated.
|
2010-11-07 13:23:45 -05:00 |
|
mark_story
|
5d697b9d6e
|
Fixing tests where objects were not added to the mockObjects lists, making their expects() not count.
|
2010-09-14 22:39:05 -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
|
54132cba79
|
Adding return checks, and changing mock creation.
|
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
|
62019888ba
|
Changing file headers to reflect accurate licences and versions created.
|
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
|
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 |
|