diff options
author | Ævar Arnfjörð Bjarmason <avar@users.mediawiki.org> | 2005-07-18 03:28:58 +0000 |
---|---|---|
committer | Ævar Arnfjörð Bjarmason <avar@users.mediawiki.org> | 2005-07-18 03:28:58 +0000 |
commit | 1158bb506e76aa1248f2e327fbcd6e0d55143cc0 (patch) | |
tree | 614730e5cc8457c6f41b87bc947fe453b5b680f7 | |
parent | 66b32fa01763bfc8cee2a29e089a106e3094f178 (diff) | |
download | mediawikicore-1158bb506e76aa1248f2e327fbcd6e0d55143cc0.tar.gz mediawikicore-1158bb506e76aa1248f2e327fbcd6e0d55143cc0.zip |
* Documentation
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/10190
-rw-r--r-- | includes/Feed.php | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/includes/Feed.php b/includes/Feed.php index 343b24d175ef..a798ce44ec7c 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 ); } + /**#@-*/ } /** |