Methods

Get the specified author

getAuthor(int $index) : string | null

Parameters

$index

int

Returns

stringnull

Get an array with feed authors

getAuthors() : \Zend\Feed\Reader\Collection\Author

Get the base URI of the feed (if set).

getBaseUrl() : string | null

Returns

stringnull

Get all categories

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\Extension\AbstractEntry::getDomDocument()

Returns

Get the entry enclosure

getEnclosure() : string

Returns

string

Get the Entry's encoding

getEncoding() : string
Inherited

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

Returns

string

Get the entry DOMElement

getEntryElement() : \DOMElement
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractEntry::getEntryElement()

Returns

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\Extension\AbstractEntry::getType()

Returns

string

Get the XPath query object

getXpath() : \DOMXPath
Inherited

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

Returns

Get the XPath prefix

getXpathPrefix() : string
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractEntry::getXpathPrefix()

Returns

string

Set the entry DOMElement

setEntryElement(\DOMElement $entry) : \Zend\Feed\Reader\Extension\AbstractEntry
Inherited

Has side effect of setting the DOMDocument for the entry.

inherited_from \Zend\Feed\Reader\Extension\AbstractEntry::setEntryElement()

Parameters

$entry

\DOMElement

Returns

Set the entry key

setEntryKey(string $entryKey) : \Zend\Feed\Reader\Extension\AbstractEntry
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractEntry::setEntryKey()

Parameters

$entryKey

string

Returns

Set the entry type

setType(string $type) : \Zend\Feed\Reader\Extension\AbstractEntry
Inherited

Has side effect of setting xpath prefix

inherited_from \Zend\Feed\Reader\Extension\AbstractEntry::setType()

Parameters

$type

string

Returns

Set the XPath query

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

inherited_from \Zend\Feed\Reader\Extension\AbstractEntry::setXpath()

Parameters

$xpath

\DOMXPath

Returns

Set the XPath prefix

setXpathPrefix(string $prefix) : \Zend\Feed\Reader\Extension\AbstractEntry
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractEntry::setXpathPrefix()

Parameters

$prefix

string

Returns

Serialize the entry to an array

toArray() : array
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractEntry::toArray()

Returns

array

Attempt to absolutise the URI, i.e.

absolutiseUri($link) : string

if a relative URI apply the xml:base value as a prefix to turn into an absolute URI.

Parameters

$link

Returns

string

Parse out XHTML to remove the namespacing

collectXhtml($xhtml, $prefix) : mixed

Parameters

$xhtml

$prefix

Returns

mixed

Detect the presence of any Atom namespaces in use

getAtomType() : string

Returns

string

Get an author entry

getAuthorFromElement(\DOMElement $element) : string

Parameters

$element

\DOMElement

Returns

string

Register the default namespaces for the current feed format

registerNamespaces() : void

 Properties

 

Feed entry data

$data : array
Inherited

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

DOM document object

$domDocument : \DOMDocument
Inherited

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

Entry instance

$entry : \DOMElement
Inherited

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

Pointer to the current entry

$entryKey : int
Inherited

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

XPath object

$xpath : \DOMXPath
Inherited

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

XPath query

$xpathPrefix : string
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractEntry::$$xpathPrefix