Added a docblock comment to alernateTreeTitle

This commit is contained in:
Sam Minnee 2008-01-22 04:30:20 +00:00
parent 9038b4c661
commit a26e96d9ca

View File

@ -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() { function alternateTreeTitle() {
if($this->owner->SubsiteID == 0) return " * " . $this->owner->Title; if($this->owner->SubsiteID == 0) return " * " . $this->owner->Title;
else return $this->owner->Title; else return $this->owner->Title;