category Zend
package Reader\Reader

 Methods

Get a single author

getAuthor(int $index) : string | null

Parameters

$index

int

Returns

stringnull

Get an array with feed authors

getAuthors() : \Zend\Feed\Reader\Collection\Author

Get the base URI of the feed (if set).

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() : \Zend\Stdlib\DateTime | null

Returns

Get the feed modification date

getDateModified() : \Zend\Stdlib\DateTime | null

Returns

Get the feed description

getDescription() : string | null

Returns

stringnull

Get the DOM

getDomDocument() : \DOMDocument
Inherited

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

Returns

Get the Feed's encoding

getEncoding() : string
Inherited

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

Returns

string

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 the feed image

getImage() : array | null

Returns

arraynull

Get the feed language

getLanguage() : string | null

Returns

stringnull

Get the feed title

getTitle() : string | null

Returns

stringnull

Get the feed type

getType() : string
Inherited

If null, it will attempt to autodetect the type.

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

Returns

string

Get the DOMXPath object

getXpath() : string
Inherited

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

Returns

string

Get the XPath prefix

getXpathPrefix() : string
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::getXpathPrefix()

Returns

string

Set the DOM document

setDomDocument(\DOMDocument $dom) : \Zend\Feed\Reader\Extension\AbstractFeed
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::setDomDocument()

Parameters

Returns

Set the feed type

setType(string $type) : \Zend\Feed\Reader\Extension\AbstractFeed
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::setType()

Parameters

$type

string

Returns

Set the XPath query

setXpath(\DOMXPath $xpath) : \Zend\Feed\Reader\Extension\AbstractEntry
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::setXpath()

Parameters

$xpath

\DOMXPath

Returns

Set the XPath prefix

setXpathPrefix(string $prefix) : void
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::setXpathPrefix()

Parameters

$prefix

string

Return the feed as an array

toArray() : array
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::toArray()

Returns

array

Attempt to absolutise the URI, i.e.

absolutiseUri($link) 

if a relative URI apply the xml:base value as a prefix to turn into an absolute URI.

Parameters

$link

Detect the presence of any Atom namespaces in use

getAtomType() 

Get an author entry in RSS format

getAuthorFromElement(\DOMElement $element) : string

Parameters

$element

\DOMElement

Returns

string

Register the default namespaces for the current feed format

registerNamespaces() 

 Properties

 

Parsed feed data

$data : array
Inherited

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

Parsed feed data in the shape of a DOMDocument

$domDocument : \DOMDocument
Inherited

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

The base XPath query used to retrieve feed data

$xpath : \DOMXPath
Inherited

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

The XPath prefix

$xpathPrefix : string
Inherited

inherited_from \Zend\Feed\Reader\Extension\AbstractFeed::$$xpathPrefix