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(\DOMElement $entry, integer $entryKey, string $type = null) : void
inherited_from \Zend_Feed_Reader_EntryAbstract::__construct()

Parameters

$entry

\DOMElement

$entryKey

integer

$type

string

Constructor

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

Parameters

$entry

\DOMElement

$entryKey

integer

$type

stringnull

Get the specified author

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

Parameters

$index

integer

Returns

stringnull

Get an array with feed authors

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

Returns

array

Get category data as a Zend_Feed_Reader_Collection_Category object

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() : integer
inherited_from \Zend_Feed_Reader_EntryInterface::getCommentCount()

Returns

integer

Get the entry content

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

Returns

string

Get the entry creation date

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

Returns

string

Get the entry modification date

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 source feed metadata from the entry

getSource() : \Zend_Feed_Reader_Feed_Atom_Source | null

Returns

\Zend_Feed_Reader_Feed_Atom_Sourcenull

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

$_xpathQuery : string

Default

''