category Zend
package Reader

 Methods

__call()

__call($method, $args) 
Inherited

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

Parameters

$method

$args

Constructor

__construct(\DOMDocument $dom, string $type) 

Parameters

$type

string

Get the number of feed entries.

count() : int
Inherited

Required by the Iterator interface.

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

Returns

int

Return the current entry

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

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

Returns

Get a single author

getAuthor(int $index) : string | null

Parameters

$index

int

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

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

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

Returns

Get the DOMElement representing the items/feed element

getElement() : \DOMElement
Inherited

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

Returns

Get the Feed's encoding

getEncoding() : string
Inherited

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

Returns

string

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

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

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

Parameters

$name

string

Returns

getExtensions()

getExtensions() 
Inherited

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

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.

getLastBuildDate() : string | null

This is not implemented in Atom.

Returns

stringnull

Get an original source URI for the feed being parsed.

getOriginalSourceUri() : string | null
Inherited

Returns null if unset or the feed was not imported from a URI.

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

Returns

stringnull

Get the feed title

getTitle() : string | null

Returns

stringnull

Get the feed type

getType() : string
Inherited

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

Returns

string

Get the DOMXPath object for this feed

getXpath() : \DOMXPath
Inherited

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

Returns

Return the current feed key

key() : int
Inherited

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

Returns

int

Reset the pointer in the feed object

rewind() 
Inherited

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

Get feed as xml

saveXml() : string
Inherited

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

Returns

string

Set an original source URI for the feed being parsed.

setOriginalSourceUri(string $uri) 
Inherited

This value is returned from getFeedLink() method if the feed does not carry a self-referencing URI.

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

Parameters

$uri

string

Check to see if the iterator is still valid

valid() : bool
Inherited

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

Returns

bool

Read all entries to the internal entries array

indexEntries() : void

loadExtensions()

loadExtensions() 
Inherited

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

Register the default namespaces for the current feed format

registerNamespaces() 

 Properties

 

Parsed feed data

$data : array
Inherited

inherited_from \Zend\Feed\Reader\Feed\AbstractFeed::$$data
 

Parsed feed data in the shape of a DOMDocument

$domDocument : \DOMDocument
Inherited

inherited_from \Zend\Feed\Reader\Feed\AbstractFeed::$$domDocument
 

An array of parsed feed entries

$entries : array
Inherited

inherited_from \Zend\Feed\Reader\Feed\AbstractFeed::$$entries
 

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

$entriesKey : int
Inherited

inherited_from \Zend\Feed\Reader\Feed\AbstractFeed::$$entriesKey
 

Array of loaded extensions

$extensions : array
Inherited

inherited_from \Zend\Feed\Reader\Feed\AbstractFeed::$$extensions
 

Original Source URI (set if imported from a URI)

$originalSourceUri : string
Inherited

inherited_from \Zend\Feed\Reader\Feed\AbstractFeed::$$originalSourceUri
 

The base XPath query used to retrieve feed data

$xpath : \DOMXPath
Inherited

inherited_from \Zend\Feed\Reader\Feed\AbstractFeed::$$xpath