Documentation

Horde_Feed_Entry_Rss extends Horde_Feed_Entry_Base

Concrete class for working with RSS items.

Tags
author

Chuck Hagenbuch chuck@horde.org

category

Horde

copyright

2005-2007 Zend Technologies USA Inc.

copyright

2007-2017 Horde LLC

license

http://www.horde.org/licenses/bsd BSD

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
see
Horde_Xml_Element::__wakeup
see
Horde_Xml_Element::fromArray
Return values
mixed

getContent()

Return encoded content if it's present.

public getContent() : string
Return values
string

Search results