diff --git a/code/DMSDocument.php b/code/DMSDocument.php index 791a9ab..34a82d7 100644 --- a/code/DMSDocument.php +++ b/code/DMSDocument.php @@ -261,6 +261,14 @@ class DMSDocument extends DataObject implements DMSDocumentInterface { return Controller::join_links(Director::baseURL(),'dmsdocument/'.$this->ID); } + /** + * The dummy functioin for the {@see:getLink()} + * RSSFeed need the data object to have a function called Link() + */ + function Link(){ + return $this->getLink(); + } + /** * Hides the document, so it does not show up when getByPage($myPage) is called * (without specifying the $showEmbargoed = true parameter). This is similar to expire, except that this method