mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 23:35:57 +00:00
feeditem_common: add get_element()
This commit is contained in:
@@ -21,6 +21,10 @@ abstract class FeedItem_Common extends FeedItem {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function get_element() {
|
||||||
|
return $this->elem;
|
||||||
|
}
|
||||||
|
|
||||||
function get_author() {
|
function get_author() {
|
||||||
$author = $this->elem->getElementsByTagName("author")->item(0);
|
$author = $this->elem->getElementsByTagName("author")->item(0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user