summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-05-05 09:21:10 +0300
committerAndrew Dolgov <[email protected]>2017-05-05 09:21:10 +0300
commit40f4a7aa6b96fe2a40731c63a00fbfdf0b6e3023 (patch)
treeeff1b4d2c0122a0a205ad0bda09704a3b6588770 /classes
parent7c9b5a3fe40a641af1cb6003b03b2352576a0c4b (diff)
feeditem_common: add get_element()
Diffstat (limited to 'classes')
-rw-r--r--classes/feeditem/common.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/feeditem/common.php b/classes/feeditem/common.php
index 402514807..10c468544 100644
--- a/classes/feeditem/common.php
+++ b/classes/feeditem/common.php
@@ -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);