Horde_Feed_Entry_Rss extends Horde_Feed_Entry_Base
Concrete class for working with RSS items.
Tags
Table of Contents
- $_emptyXml : string
- The XML string for an "empty" RSS entry.
- $_httpClient : Horde_Http_Client
- __construct() : mixed
- Handle null or array values for $this->_element by initializing with $this->_emptyXml, and importing the array with Horde_Xml_Element::fromArray() if necessary.
- getContent() : string
- Return encoded content if it's present.
Properties
$_emptyXml
The XML string for an "empty" RSS entry.
protected
string
$_emptyXml
= '<item/>'
$_httpClient
protected
Horde_Http_Client
$_httpClient
Methods
__construct()
Handle null or array values for $this->_element by initializing with $this->_emptyXml, and importing the array with Horde_Xml_Element::fromArray() if necessary.
public
__construct([mixed $element = null ][, Horde_Http_Client $httpClient = null ]) : mixed
Parameters
- $element : mixed = null
- $httpClient : Horde_Http_Client = null
Tags
Return values
mixed —getContent()
Return encoded content if it's present.
public
getContent() : string