Author: as
Date: Wed Oct 10 14:25:30 2007
New Revision: 6415
Log:
- Added the parseImage() method to the ezcFeedParser interface.
Modified:
trunk/Feed/src/interfaces/parser.php
trunk/Feed/src/processors/atom.php
trunk/Feed/src/processors/rss1.php
Modified: trunk/Feed/src/interfaces/parser.php
==============================================================================
--- trunk/Feed/src/interfaces/parser.php [iso-8859-1] (original)
+++ trunk/Feed/src/interfaces/parser.php [iso-8859-1] Wed Oct 10 14:25:30 2007
@@ -51,5 +51,14 @@
* @param DOMElement $xml The XML element object to parse
*/
public function parseItem( ezcFeed $feed, DOMElement $xml );
+
+ /**
+ * Parses the provided XML element object and stores it as a feed image in
+ * the provided ezcFeed object.
+ *
+ * @param ezcFeed $feed The feed object in which to store the parsed XML
element as a feed image
+ * @param DOMElement $xml The XML element object to parse
+ */
+ public function parseImage( ezcFeed $feed, DOMElement $xml );
}
?>
Modified: trunk/Feed/src/processors/atom.php
==============================================================================
--- trunk/Feed/src/processors/atom.php [iso-8859-1] (original)
+++ trunk/Feed/src/processors/atom.php [iso-8859-1] Wed Oct 10 14:25:30 2007
@@ -153,5 +153,16 @@
public function parseItem( ezcFeed $feed, DOMElement $item )
{
}
+
+ /**
+ * Parses the provided XML element object and stores it as a feed image in
+ * the provided ezcFeed object.
+ *
+ * @param ezcFeed $feed The feed object in which to store the parsed XML
element as a feed image
+ * @param DOMElement $xml The XML element object to parse
+ */
+ public function parseImage( ezcFeed $feed, DOMElement $xml )
+ {
+ }
}
?>
Modified: trunk/Feed/src/processors/rss1.php
==============================================================================
--- trunk/Feed/src/processors/rss1.php [iso-8859-1] (original)
+++ trunk/Feed/src/processors/rss1.php [iso-8859-1] Wed Oct 10 14:25:30 2007
@@ -156,5 +156,16 @@
public function parseItem( ezcFeed $feed, DOMElement $xml )
{
}
+
+ /**
+ * Parses the provided XML element object and stores it as a feed image in
+ * the provided ezcFeed object.
+ *
+ * @param ezcFeed $feed The feed object in which to store the parsed XML
element as a feed image
+ * @param DOMElement $xml The XML element object to parse
+ */
+ public function parseImage( ezcFeed $feed, DOMElement $xml )
+ {
+ }
}
?>
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components