mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-07-05 19:09:27 +02:00
MINOR: DataObject->fieldLabels() will only return an array
This commit is contained in:
parent
14784f06d8
commit
9ee84fd515
|
@ -3495,7 +3495,7 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||||
*
|
*
|
||||||
* @param boolean $includerelations a boolean value to indicate if the labels returned include relation fields
|
* @param boolean $includerelations a boolean value to indicate if the labels returned include relation fields
|
||||||
*
|
*
|
||||||
* @return array|string Array of all element labels if no argument given, otherwise the label of the field
|
* @return array Array of all element labels if no argument given, otherwise the label of the field
|
||||||
*/
|
*/
|
||||||
public function fieldLabels($includerelations = true)
|
public function fieldLabels($includerelations = true)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user