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
This commit is contained in:
Sean Harvey 2009-04-22 07:58:49 +00:00 committed by Sam Minnee
parent f646b864db
commit a91ea3fc4a

View File

@ -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