Commit Graph

3 Commits

Author SHA1 Message Date
Sam Minnee
8bcff1f1d6 Added DataObjectSet::find(), for using a DOS a bit like a PHP map
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40910 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-27 05:09:13 +00:00
Sam Minnee
0c977bf6f7 Added insertFirst(), to insert an item at the beginning of the set
Added containsIDs() and onlyContainsIDs(), to perform simple validation of DataObjectSets - useful for unit testing

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40228 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-16 06:34:30 +00:00
Hayden Smith
4a5d9b03f8 Moved Sapphire module to open source path
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39001 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-19 10:40:28 +00:00