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

 Methods

Method overloading: call given method on first extension implementing it

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

Parameters

$method

string

$args

array

Exceptions

\Zend_Feed_Exception if no extensions implements the method

Returns

mixed

Constructor

__construct(\Zend_Feed_Entry_Abstract $entry, string $entryKey, string $type = null) : void
inherited_from \Zend_Feed_Reader_EntryAbstract::__construct()

Parameters

$entry

\Zend_Feed_Entry_Abstract

$entryKey

string

$type

string

Constructor

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

Parameters

$entry

\DOMElement

$entryKey

integer

$type

stringnull

Get an author entry

getAuthor(integer $index = 0) : string
inherited_from \Zend_Feed_Reader_EntryInterface::getAuthor()

Parameters

$index

Returns

string

Get an array with feed authors

getAuthors() : array
inherited_from \Zend_Feed_Reader_EntryInterface::getAuthors()

Returns

array

Get all categories

getCategories() : \Zend_Feed_Reader_Collection_Category
inherited_from \Zend_Feed_Reader_EntryInterface::getCategories()

Returns

\Zend_Feed_Reader_Collection_Category

Get the number of comments/replies for current entry

getCommentCount() : string | null
inherited_from \Zend_Feed_Reader_EntryInterface::getCommentCount()

Returns

stringnull

Get the entry content

getContent() : string
inherited_from \Zend_Feed_Reader_EntryInterface::getContent()

Returns

string

Get the entry's date of creation

getDateCreated() : string
inherited_from \Zend_Feed_Reader_EntryInterface::getDateCreated()

Returns

string

Get the entry's date of modification

getDateModified() : string
inherited_from \Zend_Feed_Reader_EntryInterface::getDateModified()

Returns

string

Get the entry description

getDescription() : string
inherited_from \Zend_Feed_Reader_EntryInterface::getDescription()

Returns

string

Get the DOM

getDomDocument() : \DOMDocument
Inherited

Returns

\DOMDocument

Get the entry element

getElement() : \DOMElement
Inherited

Returns

\DOMElement

Get the entry enclosure

getEnclosure() : string
inherited_from \Zend_Feed_Reader_EntryInterface::getEnclosure()

Returns

string

Get the Entry's encoding

getEncoding() : string
Inherited

Returns

string

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

getExtension(string $name) : \Zend_Feed_Reader_Extension_EntryAbstract
Inherited

Parameters

$name

string

Returns

\Zend_Feed_Reader_Extension_EntryAbstract

Get registered extensions

getExtensions() : array
Inherited

Returns

array

Get the entry ID

getId() : string
inherited_from \Zend_Feed_Reader_EntryInterface::getId()

Returns

string

Get the entry title

getTitle() : string
inherited_from \Zend_Feed_Reader_EntryInterface::getTitle()

Returns

string

Get the entry type

getType() : string
Inherited

Returns

string

Get the XPath query object

getXpath() : \DOMXPath
Inherited

Returns

\DOMXPath

Get entry as xml

saveXml() : string
Inherited

Returns

string

Set the XPath query (incl. on all Extensions)

setXpath(\DOMXPath $xpath) 
inherited_from \Zend_Feed_Reader_EntryAbstract::setXpath()

Parameters

$xpath

\DOMXPath

Set the XPath query

setXpath(\DOMXPath $xpath) : \Zend_Feed_Reader_Entry_EntryAbstract
Inherited

Parameters

$xpath

\DOMXPath

Returns

\Zend_Feed_Reader_Entry_EntryAbstract

Load extensions from Zend_Feed_Reader

_loadExtensions() : void
Inherited

 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
 

XPath query for RDF

$_xpathQueryRdf : string

Default

''
 

XPath query for RSS

$_xpathQueryRss : string

Default

''