category Zend
package Zend_Feed_Reader
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Method overloading: call given method on first extension implementing it

__call(string $method, array $args) : mixed

Parameters

$method

string

$args

array

Exceptions

\Zend_Feed_Exception if no extensions implements the method

Returns

mixed

Constructor

__construct(\DOMElement $entry, integer $entryKey, string|null $type = null) : void

Parameters

$entry

\DOMElement

$entryKey

integer

$type

stringnull

Get the DOM

getDomDocument() : \DOMDocument

Returns

\DOMDocument

Get the entry element

getElement() : \DOMElement

Returns

\DOMElement

Get the Entry's encoding

getEncoding() : string

Returns

string

Return an Extension object with the matching name (postfixed with _Entry)

getExtension(string $name) : \Zend_Feed_Reader_Extension_EntryAbstract

Parameters

$name

string

Returns

\Zend_Feed_Reader_Extension_EntryAbstract

Get registered extensions

getExtensions() : array

Returns

array

Get the entry type

getType() : string

Returns

string

Get the XPath query object

getXpath() : \DOMXPath

Returns

\DOMXPath

Get entry as xml

saveXml() : string

Returns

string

Set the XPath query

setXpath(\DOMXPath $xpath) : \Zend_Feed_Reader_Entry_EntryAbstract

Parameters

$xpath

\DOMXPath

Returns

\Zend_Feed_Reader_Entry_EntryAbstract

Load extensions from Zend_Feed_Reader

_loadExtensions() : void

 Properties

 

Feed entry data

$_data : array

Default

array()
 

DOM document object

$_domDocument : \DOMDocument

Default

null
 

Entry instance

$_entry : \Zend_Feed_Entry_Interface

Default

null
 

Pointer to the current entry

$_entryKey : integer

Default

0
 

Registered extensions

$_extensions : array

Default

array()
 

XPath object

$_xpath : \DOMXPath

Default

null