Kaynağa Gözat

Feed and entry level getCategories() method added to interfaces

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@19169 44c647ce-9c0f-0410-b52a-842ac1e357ba
padraic 16 yıl önce
ebeveyn
işleme
d75bec4c19

+ 7 - 0
library/Zend/Feed/Reader/EntryInterface.php

@@ -133,4 +133,11 @@ interface Zend_Feed_Reader_EntryInterface
      * @return string
      * @return string
      */
      */
     public function getCommentFeedLink();
     public function getCommentFeedLink();
+    
+    /**
+     * Get all categories
+     *
+     * @return Zend_Feed_Reader_Collection_Category
+     */
+    public function getCategories();
 }
 }

+ 7 - 0
library/Zend/Feed/Reader/FeedInterface.php

@@ -111,5 +111,12 @@ interface Zend_Feed_Reader_FeedInterface extends Iterator, Countable
      * @return string|null
      * @return string|null
      */
      */
     public function getTitle();
     public function getTitle();
+    
+    /**
+     * Get all categories
+     *
+     * @return Zend_Feed_Reader_Collection_Category
+     */
+    public function getCategories();
 
 
 }
 }