]> git.wh0rd.org - tt-rss.git/commitdiff
feeditem_common: add get_element()
authorAndrew Dolgov <noreply@fakecake.org>
Fri, 5 May 2017 06:21:10 +0000 (09:21 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Fri, 5 May 2017 06:21:10 +0000 (09:21 +0300)
classes/feeditem/common.php

index 4025148077299bd5a690a2157f64a04327b1d454..10c468544fdbef8b744f1bd7027408582111b9ec 100644 (file)
@@ -21,6 +21,10 @@ abstract class FeedItem_Common extends FeedItem {
                }
        }
 
+       function get_element() {
+               return $this->elem;
+       }
+
        function get_author() {
                $author = $this->elem->getElementsByTagName("author")->item(0);