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_Extension_EntryAbstract

 Methods

Constructor

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

Parameters

$entry

\Zend_Feed_Entry_Abstract

$entryKey

integer

$type

string

Get an author entry

getAuthor($index = 0) : string

Parameters

$index

Returns

string

Get an array with feed authors

getAuthors() : array

Returns

array

Get categories (subjects under DC)

getCategories() : \Zend_Feed_Reader_Collection_Category

Returns

\Zend_Feed_Reader_Collection_Category

Get the entry content

getContent() : string

Returns

string

getDate()

getDate() : \Zend_Date | null

Returns

\Zend_Datenull

Get the entry description

getDescription() : string

Returns

string

Get the DOM

getDomDocument() : \DOMDocument
Inherited

Returns

\DOMDocument

Get the Entry's encoding

getEncoding() : string
Inherited

Returns

string

Get the entry ID

getId() : string

Returns

string

Get the entry title

getTitle() : string

Returns

string

Get the entry type

getType() : string
Inherited

Returns

string

Get the XPath query object

getXpath() : \DOMXPath
Inherited

Returns

\DOMXPath

Get the XPath prefix

getXpathPrefix() : string
Inherited

Returns

string

Set the XPath query

setXpath(\DOMXPath $xpath) : \Zend_Feed_Reader_Extension_EntryAbstract
Inherited

Parameters

$xpath

\DOMXPath

Returns

\Zend_Feed_Reader_Extension_EntryAbstract

Set the XPath prefix

setXpathPrefix(string $prefix) : \Zend_Feed_Reader_Extension_EntryAbstract
Inherited

Parameters

$prefix

string

Returns

\Zend_Feed_Reader_Extension_EntryAbstract

Serialize the entry to an array

toArray() : array
Inherited

Returns

array

Register DC namespaces

_registerNamespaces() : void
inherited_from \Zend_Feed_Reader_Extension_EntryAbstract::_registerNamespaces()

Register XML namespaces

_registerNamespaces() : void
Inherited

 Properties

 

Feed entry data

$_data : array

Default

array()
 

DOM document object

$_domDocument : \DOMDocument

Default

null
 

Entry instance

$_entry : \Zend_Feed_Entry_Abstract

Default

null
 

Pointer to the current entry

$_entryKey : integer

Default

0
 

XPath object

$_xpath : \DOMXPath

Default

null
 

XPath query

$_xpathPrefix : string

Default

''