Commit Graph

2 Commits

Author SHA1 Message Date
Sam Minnee
bc7c8330f5 BUGFIX: Updated DataObjectSet::map() to use empty string, rather than 0, as the empty value
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75585 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:27:19 +13:00
Sean Harvey
f646b864db API CHANGE Deprecated DataObjectSet->toDropDownMap() and made it an alias of map(), copying the functionality of toDropDownMap() into map()
MINOR Added phpDoc for @deprecated methods - toDropDownMap() and filter_map()

MINOR Added new test class - DataObjectSetTest

MINOR Added tests for map(), toDropDownMap(), Count(), First() and Last() on DataObjectSetTest

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74969 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:27:16 +13:00