APICHANGE: add documentation to changeset r74858.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@74901 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Normann Lou 2009-04-21 22:25:09 +00:00 committed by Sam Minnee
parent 900595c80d
commit 44fcc58c35

View File

@ -117,6 +117,11 @@ class PageComment extends DataObject {
return self::$bbcode;
}
/**
*
* @param boolean $includerelations a boolean value to indicate if the labels returned include relation fields
*
*/
function fieldLabels($includerelations = true) {
$labels = parent::fieldLabels($includerelations);
$labels['Name'] = _t('PageComment.Name', 'Author Name');