Methods

Method overloading: call given method on first extension implementing it

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

inherited_from \Zend\Feed\Reader\Entry\AbstractEntry::__call()

Parameters

$method

string

$args

array

Exceptions

\Zend\Feed\Reader\Exception\RuntimeException if no extensions implements the method

Returns

mixed

Constructor

__construct(\DOMElement $entry, int $entryKey, string $type) 

Parameters

$entry

\DOMElement

$entryKey

int

$type

string

Get the specified author

getAuthor(int $index) : string | null

Parameters

$index

int

Returns

stringnull

Get an array with feed authors

getAuthors() : array

Returns

array

Get category data as a Reader\Reader_Collection_Category object

getCategories() : \Zend\Feed\Reader\Collection\Category

Get the number of comments/replies for current entry

getCommentCount() : int

Returns

int

Get the entry content

getContent() : string

Returns

string

Get the entry creation date

getDateCreated() : string

Returns

string

Get the entry modification date

getDateModified() : string

Returns

string

Get the entry description

getDescription() : string

Returns

string

Get the DOM

getDomDocument() : \DOMDocument
Inherited

inherited_from \Zend\Feed\Reader\Entry\AbstractEntry::getDomDocument()

Returns

Get the entry element

getElement() : \DOMElement
Inherited

inherited_from \Zend\Feed\Reader\Entry\AbstractEntry::getElement()

Returns

Get the entry enclosure

getEnclosure() : string

Returns

string

Get the Entry's encoding

getEncoding() : string
Inherited

inherited_from \Zend\Feed\Reader\Entry\AbstractEntry::getEncoding()

Returns

string

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

getExtension(string $name) : \Zend\Feed\Reader\Extension\AbstractEntry
Inherited

inherited_from \Zend\Feed\Reader\Entry\AbstractEntry::getExtension()

Parameters

$name

string

Returns

Get registered extensions

getExtensions() : array
Inherited

inherited_from \Zend\Feed\Reader\Entry\AbstractEntry::getExtensions()

Returns

array

Get the entry ID

getId() : string

Returns

string

Get source feed metadata from the entry

getSource() : \Zend\Feed\Reader\Feed\Atom\Source | null

Get the entry title

getTitle() : string

Returns

string

Get the entry type

getType() : string
Inherited

inherited_from \Zend\Feed\Reader\Entry\AbstractEntry::getType()

Returns

string

Get the XPath query object

getXpath() : \DOMXPath
Inherited

inherited_from \Zend\Feed\Reader\Entry\AbstractEntry::getXpath()

Returns

Get entry as xml

saveXml() : string
Inherited

inherited_from \Zend\Feed\Reader\Entry\AbstractEntry::saveXml()

Returns

string

Set the XPath query (incl.

setXpath(\DOMXPath $xpath) : void

on all Extensions)

Parameters

$xpath

\DOMXPath

Load extensions from Zend\Feed\Reader\Reader

loadExtensions() : void
Inherited

inherited_from \Zend\Feed\Reader\Entry\AbstractEntry::loadExtensions()

 Properties

 

Feed entry data

$data : array
Inherited

inherited_from \Zend\Feed\Reader\Entry\AbstractEntry::$$data
 

DOM document object

$domDocument : \DOMDocument
Inherited

inherited_from \Zend\Feed\Reader\Entry\AbstractEntry::$$domDocument
 

Entry instance

$entry : \DOMElement
Inherited

inherited_from \Zend\Feed\Reader\Entry\AbstractEntry::$$entry
 

Pointer to the current entry

$entryKey : int
Inherited

inherited_from \Zend\Feed\Reader\Entry\AbstractEntry::$$entryKey
 

Registered extensions

$extensions : array
Inherited

inherited_from \Zend\Feed\Reader\Entry\AbstractEntry::$$extensions
 

XPath object

$xpath : \DOMXPath
Inherited

inherited_from \Zend\Feed\Reader\Entry\AbstractEntry::$$xpath
 

XPath query

$xpathQuery : string