package Default
inherited_from \Zend\Feed\Reader\Entry\AbstractEntry

 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\Reader\Exception\RuntimeException if no extensions implements the method

Returns

mixed

Constructor

__construct(\DOMElement $entry, string $entryKey, string $type = null
inherited_from \Zend\Feed\Reader\Entry\AbstractEntry::__construct()

Parameters

$entry

\DOMElement

$entryKey

string

$type

string

Constructor

__construct(\DOMElement $entry, integer $entryKey, string $type = null
Inherited

Parameters

$entry

\DOMElement

$entryKey

integer

$type

string

Get an author entry

getAuthor(integer $index = 0) : string
inherited_from \Zend\Feed\Reader\Entry\EntryInterface::getAuthor()

Parameters

$index

integer

Returns

string

Get an array with feed authors

getAuthors() : array
inherited_from \Zend\Feed\Reader\Entry\EntryInterface::getAuthors()

Returns

array

Get all categories

getCategories() : \Zend\Feed\Reader\Collection\Category
inherited_from \Zend\Feed\Reader\Entry\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\Entry\EntryInterface::getCommentCount()

Returns

stringnull

Get the entry content

getContent() : string
inherited_from \Zend\Feed\Reader\Entry\EntryInterface::getContent()

Returns

string

Get the entry's date of creation

getDateCreated() : string
inherited_from \Zend\Feed\Reader\Entry\EntryInterface::getDateCreated()

Returns

string

Get the entry's date of modification

getDateModified() : string
inherited_from \Zend\Feed\Reader\Entry\EntryInterface::getDateModified()

Exceptions

\Zend\Feed\Reader\Exception\RuntimeException

Returns

string

Get the entry description

getDescription() : string
inherited_from \Zend\Feed\Reader\Entry\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\Entry\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\AbstractEntry
Inherited

Parameters

$name

string

Returns

\Zend\Feed\Reader\Extension\AbstractEntry

Get registered extensions

getExtensions() : array
Inherited

Returns

array

Get the entry ID

getId() : string
inherited_from \Zend\Feed\Reader\Entry\EntryInterface::getId()

Returns

string

Get the entry title

getTitle() : string
inherited_from \Zend\Feed\Reader\Entry\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) : void
inherited_from \Zend\Feed\Reader\Entry\AbstractEntry::setXpath()

Parameters

$xpath

\DOMXPath

Set the XPath query

setXpath(\DOMXPath $xpath) : \Zend\Feed\Reader\Entry\AbstractEntry
Inherited

Parameters

$xpath

\DOMXPath

Returns

\Zend\Feed\Reader\Entry\AbstractEntry

Load extensions from Zend\Feed\Reader\Reader

loadExtensions() : void
Inherited

 Properties

 

Feed entry data

$data : array

Default

array()
 

DOM document object

$domDocument : \DOMDocument

Default

null
 

Entry instance

$entry : \DOMElement

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

''