package Default
inherited_from \Zend\Feed\Reader\Feed\AbstractFeed

 Methods

__call()

__call($method, $args) 
Inherited

Parameters

$method

$args

Constructor

__construct(\DOMDocument $dom, string $type = null
inherited_from \Zend\Feed\Reader\Feed\AbstractFeed::__construct()

Parameters

$dom

\DOMDocument

$type

string

Constructor

__construct(\DOMDocument $domDocument, string $type = null
Inherited

Parameters

$domDocument

\DOMDocument

The DOM object for the feed's XML

$type

string

Feed type

Get the number of feed entries.

count() : integer
Inherited

Required by the Iterator interface.

Returns

integer

Return the current entry

current() : \Zend\Feed\Reader\Entry\EntryInterface
Inherited

Returns

\Zend\Feed\Reader\Entry\EntryInterface

Get a single author

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

Parameters

$index

integer

Returns

stringnull

Get an array with feed authors

getAuthors() : array

Returns

array

Get a link to the source website

getBaseUrl() : string | null

Returns

stringnull

Get all categories

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

Returns

\Zend\Feed\Reader\Collection\Category

Get the copyright entry

getCopyright() : string | null

Returns

stringnull

Get the feed creation date

getDateCreated() : string | null

Returns

stringnull

Get the feed modification date

getDateModified() : string | null

Returns

stringnull

Get the feed description

getDescription() : string | null

Returns

stringnull

Get the DOM

getDomDocument() : \DOMDocument
Inherited

Returns

\DOMDocument

Get the DOMElement representing the items/feed element

getElement() : \DOMElement
Inherited

Returns

\DOMElement

Get the Feed's encoding

getEncoding() : string
Inherited

Returns

string

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

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

Parameters

$name

string

Returns

\Zend\Feed\Reader\Extension\AbstractFeed

getExtensions()

getExtensions() 
Inherited

Get the feed generator entry

getGenerator() : string | null

Returns

stringnull

Get an array of any supported Pusubhubbub endpoints

getHubs() : array | null

Returns

arraynull

Get the feed ID

getId() : string | null

Returns

stringnull

Get feed image data

getImage() : array | null

Returns

arraynull

Get the feed language

getLanguage() : string | null

Returns

stringnull

Get the feed lastBuild date. This is not implemented in Atom.

getLastBuildDate() : string | null

Returns

stringnull

Get an original source URI for the feed being parsed. Returns null if unset or the feed was not imported from a URI.

getOriginalSourceUri() : string | null
Inherited

Returns

stringnull

Get the feed title

getTitle() : string | null

Returns

stringnull

Get the feed type

getType() : string
Inherited

Returns

string

Get the DOMXPath object for this feed

getXpath() : \DOMXPath
Inherited

Returns

\DOMXPath

Return the current feed key

key() : integer
Inherited

Returns

integer

Move the feed pointer forward

next() 
Inherited

Reset the pointer in the feed object

rewind() 
Inherited

Get feed as xml

saveXml() : string
Inherited

Returns

string

Set an original source URI for the feed being parsed. This value is returned from getFeedLink() method if the feed does not carry a self-referencing URI.

setOriginalSourceUri(string $uri) 
Inherited

Parameters

$uri

string

Check to see if the iterator is still valid

valid() : boolean
Inherited

Returns

boolean

Read all entries to the internal entries array

indexEntries() : void
inherited_from \Zend\Feed\Reader\Feed\AbstractFeed::indexEntries()

Read all entries to the internal entries array

indexEntries() 
Inherited

loadExtensions()

loadExtensions() 
Inherited

Register the default namespaces for the current feed format

registerNamespaces() 
inherited_from \Zend\Feed\Reader\Feed\AbstractFeed::registerNamespaces()

Register the default namespaces for the current feed format

registerNamespaces() 
Inherited

 Properties

 

Parsed feed data

$data : array

Default

array()
 

Parsed feed data in the shape of a DOMDocument

$domDocument : \DOMDocument

Default

null
 

An array of parsed feed entries

$entries : array

Default

array()
 

A pointer for the iterator to keep track of the entries array

$entriesKey : integer

Default

0
 

Array of loaded extensions

$extensions : array

Default

array()
 

Original Source URI (set if imported from a URI)

$originalSourceUri : string

Default

null
 

The base XPath query used to retrieve feed data

$xpath : \DOMXPath

Default

null