From 1158bb506e76aa1248f2e327fbcd6e0d55143cc0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Mon, 18 Jul 2005 03:28:58 +0000 Subject: [PATCH] * Documentation --- includes/Feed.php | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/includes/Feed.php b/includes/Feed.php index 343b24d175..a798ce44ec 100644 --- a/includes/Feed.php +++ b/includes/Feed.php @@ -42,7 +42,7 @@ class FeedItem { var $Author = ''; /**#@-*/ - /** + /**#@+ * @todo document */ function FeedItem( $Title, $Description, $Url, $Date = '', $Author = '', $Comments = '' ) { @@ -56,7 +56,6 @@ class FeedItem { /** * @static - * @todo document */ function xmlEncode( $string ) { $string = str_replace( "\r\n", "\n", $string ); @@ -64,37 +63,17 @@ class FeedItem { return htmlspecialchars( $string ); } - /** - * @todo document - */ function getTitle() { return $this->xmlEncode( $this->Title ); } - /** - * @todo document - */ function getUrl() { return $this->xmlEncode( $this->Url ); } - /** - * @todo document - */ function getDescription() { return $this->xmlEncode( $this->Description ); } - /** - * @todo document - */ function getLanguage() { global $wgContLanguageCode; return $wgContLanguageCode; } - /** - * @todo document - */ function getDate() { return $this->Date; } - /** - * @todo document - */ function getAuthor() { return $this->xmlEncode( $this->Author ); } - /** - * @todo document - */ function getComments() { return $this->xmlEncode( $this->Comments ); } + /**#@-*/ } /** -- 2.20.1