feeditem_common: add get_element()
This commit is contained in:
parent
7c9b5a3fe4
commit
40f4a7aa6b
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue