\Horde_Feed_Entry_Blogroll

Concrete class for working with Blogroll elements.

Summary

Methods
Properties
Constants
__construct()
getFeed()
fromArray()
__get()
__set()
No public properties found
No constants found
No protected methods found
$_httpClient
$_emptyXml
N/A
No private methods found
No private properties found
N/A

Properties

$_httpClient

$_httpClient : \Horde_Http_Client

Type

\Horde_Http_Client

$_emptyXml

$_emptyXml : string

The XML string for an "empty" outline element.

Type

string

Methods

__construct()

__construct(  $element = null, \Horde_Http_Client  $httpClient = null) 

Handle null or array values for $this->_element by initializing with $this->_emptyXml, and importing the array with Horde_Xml_Element::fromArray() if necessary.

Parameters

$element
\Horde_Http_Client $httpClient

getFeed()

getFeed() : \Horde_Feed_Base

Get a Horde_Feed object for the feed described by this outline element.

Returns

\Horde_Feed_Base

fromArray()

fromArray(  $array) 

Add child elements and attributes to this element from a simple key => value hash. Because feed list outline elements only use attributes, this overrides Horde_Xml_Element#fromArray to set attributes whether the #Attribute syntax is used or not.

Parameters

$array

Hash to import into this element.

__get()

__get(string  $var) : mixed

Always use attributes instead of child nodes.

Parameters

string $var

The property to access.

Returns

mixed

__set()

__set(string  $var, string  $val) 

Always use attributes instead of child nodes.

Parameters

string $var

The property to change.

string $val

The property's new value.