From a26e96d9cac1ef66a85f516b243808a4fe47f30e Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Tue, 22 Jan 2008 04:30:20 +0000 Subject: [PATCH] Added a docblock comment to alernateTreeTitle --- code/FileSubsites.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/FileSubsites.php b/code/FileSubsites.php index d49dbe5..4f2d415 100755 --- a/code/FileSubsites.php +++ b/code/FileSubsites.php @@ -15,7 +15,10 @@ class FileSubsites extends DataObjectDecorator { } } - + /** + * Amends the CMS tree title for folders in the Files & Images section. + * Prefixes a '* ' to the folders that are accessible from all subsites. + */ function alternateTreeTitle() { if($this->owner->SubsiteID == 0) return " * " . $this->owner->Title; else return $this->owner->Title;