From a91ea3fc4add92dbd74cdfc57add609fd42a9f79 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Wed, 22 Apr 2009 07:58:49 +0000 Subject: [PATCH] MINOR Added @deprecated comment to DataObjectSet->map_multiple() git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@74975 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/model/DataObjectSet.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/model/DataObjectSet.php b/core/model/DataObjectSet.php index 9623d21c0..d660c5022 100644 --- a/core/model/DataObjectSet.php +++ b/core/model/DataObjectSet.php @@ -583,6 +583,10 @@ class DataObjectSet extends ViewableData implements IteratorAggregate { /** * Returns the dataset as an array of ID => "FirstName Surname" + * + * @deprecated 2.4 Please use map() instead, pointing the title + * to a method name that does the concatenation of values. + * * @param string $key Field name to index the array. * @param array $values An array of fieldnames to insert in array * @param boolean $withdash Add dashes inbetween values