mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #8231 from open-sausages/pulls/4/field-labels-doc-fix
MINOR: DataObject->fieldLabels() will only return an array
This commit is contained in:
commit
e4d1cf8818
@ -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
|
||||||
*/
|
*/
|
||||||
public function fieldLabels($includerelations = true)
|
public function fieldLabels($includerelations = true)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user