category Zend
package Reader\Reader

 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, string $entryKey, string $type) 

Parameters

$entry

\DOMElement

$entryKey

string

$type

string

Get an author entry

getAuthor(int $index) : string

Parameters

$index

int

Returns

string

Get an array with feed authors

getAuthors() : array

Returns

array

Get all categories

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

Get the number of comments/replies for current entry

getCommentCount() : string | null

Returns

stringnull

Get the entry content

getContent() : string

Returns

string

Get the entry's date of creation

getDateCreated() : string

Returns

string

Get the entry's date of modification

getDateModified() : 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 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

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 for RDF

$xpathQueryRdf : string

 

XPath query for RSS

$xpathQueryRss : string