summaryrefslogtreecommitdiff
path: root/includes/Feed.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2007-05-16 20:58:53 +0000
committerPierre Schmitz <pierre@archlinux.de>2007-05-16 20:58:53 +0000
commitcecb985bee3bdd252e1b8dc0bd500b37cd52be01 (patch)
tree17266aa237742640aabee7856f0202317a45d540 /includes/Feed.php
parent0bac06c301f2a83edb0236e4c2434da16848d549 (diff)
Aktualisierung auf MediaWiki 1.10.0
Plugins angepasst und verbessert kleine Korrekturen am Design
Diffstat (limited to 'includes/Feed.php')
-rw-r--r--includes/Feed.php18
1 files changed, 5 insertions, 13 deletions
diff --git a/includes/Feed.php b/includes/Feed.php
index 5c14865d..ed4343c3 100644
--- a/includes/Feed.php
+++ b/includes/Feed.php
@@ -1,6 +1,5 @@
<?php
-# Basic support for outputting syndication feeds in RSS, other formats
-#
+
# Copyright (C) 2004 Brion Vibber <brion@pobox.com>
# http://www.mediawiki.org/
#
@@ -20,15 +19,13 @@
# http://www.gnu.org/copyleft/gpl.html
/**
+ * Basic support for outputting syndication feeds in RSS, other formats.
* Contain a feed class as well as classes to build rss / atom ... feeds
* Available feeds are defined in Defines.php
- * @package MediaWiki
*/
-
/**
- * @todo document
- * @package MediaWiki
+ * A base class for basic support for outputting syndication feeds in RSS and other formats.
*/
class FeedItem {
/**#@+
@@ -45,7 +42,7 @@ class FeedItem {
/**#@+
* @todo document
*/
- function FeedItem( $Title, $Description, $Url, $Date = '', $Author = '', $Comments = '' ) {
+ function __construct( $Title, $Description, $Url, $Date = '', $Author = '', $Comments = '' ) {
$this->Title = $Title;
$this->Description = $Description;
$this->Url = $Url;
@@ -77,8 +74,7 @@ class FeedItem {
}
/**
- * @todo document
- * @package MediaWiki
+ * @todo document (needs one-sentence top-level class description).
*/
class ChannelFeed extends FeedItem {
/**#@+
@@ -160,8 +156,6 @@ class ChannelFeed extends FeedItem {
/**
* Generate a RSS feed
- * @todo document
- * @package MediaWiki
*/
class RSSFeed extends ChannelFeed {
@@ -221,8 +215,6 @@ class RSSFeed extends ChannelFeed {
/**
* Generate an Atom feed
- * @todo document
- * @package MediaWiki
*/
class AtomFeed extends ChannelFeed {
/**