From: Mark A. Hershberger Date: Wed, 20 Apr 2011 04:28:20 +0000 (+0000) Subject: Revert r86455 based on bawolff's comments X-Git-Tag: 1.31.0-rc.0~30687 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=45c87acdd0f98c25d2ddec32cea46cbe983a085a;p=lhc%2Fweb%2Fwiklou.git Revert r86455 based on bawolff's comments --- diff --git a/includes/Feed.php b/includes/Feed.php index 183b8e6e59..8f54ec0d32 100644 --- a/includes/Feed.php +++ b/includes/Feed.php @@ -79,6 +79,15 @@ class FeedItem { return $this->Title->getTouched(); } + /** + * Get the last touched timestamp + * + * @return String last-touched timestamp + */ + public function getLastMod() { + return $this->Title->getTouched(); + } + /** * Encode $string so that it can be safely embedded in a XML document * @@ -132,6 +141,16 @@ class FeedItem { return $this->Title->getPrefixedDBKey(); } + /** + * Get the DB prefixed title + * + * @return String the prefixed title, with underscores and + * any interwiki and namespace prefixes + */ + public function getDBPrefixedTitle() { + return $this->Title->getPrefixedDBKey(), + } + /** * Get the URL of this item; already xml-encoded *