Documentation

Horde_Feed_Entry_Blogroll extends Horde_Feed_Entry_Base
in package

Concrete class for working with Blogroll elements.

Tags
author

Chuck Hagenbuch chuck@horde.org

category

Horde

copyright

2008-2017 Horde LLC

license

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

Table of Contents

$_emptyXml  : string
The XML string for an "empty" outline element.
$_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.
__get()  : mixed
Always use attributes instead of child nodes.
__set()  : mixed
Always use attributes instead of child nodes.
fromArray()  : mixed
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.
getFeed()  : Horde_Feed_Base
Get a Horde_Feed object for the feed described by this outline element.

Properties

$_emptyXml

The XML string for an "empty" outline element.

protected string $_emptyXml = '<outline xmlUrl=""/>'

$_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

__get()

Always use attributes instead of child nodes.

public __get(string $var) : mixed
Parameters
$var : string

The property to access.

Return values
mixed

__set()

Always use attributes instead of child nodes.

public __set(string $var, string $val) : mixed
Parameters
$var : string

The property to change.

$val : string

The property's new value.

Return values
mixed

fromArray()

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.

public fromArray( $array) : mixed
Parameters
$array :

Hash to import into this element.

Tags
see

Horde_Xml_Element#fromArray

Return values
mixed

Search results