VuFind API Documentation

Feed extends AbstractRenderer
in package

Laminas\Feed\Renderer\Feed extension for Open Search

Tags
category

VuFind

author

Sebastian Cuy sebastian.cuy@uni-koeln.de

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

Table of Contents

$called  : bool
Set to TRUE if a rendering method actually renders something. This is used to prevent premature appending of a XML namespace declaration until an element which requires it is actually appended.
render()  : void
Render feed
_appendNamespaces()  : void
Append feed namespaces
setItemsPerPage()  : void
Set items per page
setLinks()  : void
Set links
setQuery()  : void
Set the query element
setStartIndex()  : void
Set start index
setTotalResults()  : void
Set total results

Properties

$called

Set to TRUE if a rendering method actually renders something. This is used to prevent premature appending of a XML namespace declaration until an element which requires it is actually appended.

protected bool $called = false

Methods

render()

Render feed

public render() : void
Return values
void

_appendNamespaces()

Append feed namespaces

protected _appendNamespaces() : void
Return values
void

setItemsPerPage()

Set items per page

protected setItemsPerPage(DOMDocument $dom, DOMElement $root) : void
Parameters
$dom : DOMDocument

the dom document

$root : DOMElement

the root element

Return values
void

Set links

protected setLinks(DOMDocument $dom, DOMElement $root) : void
Parameters
$dom : DOMDocument

the dom document

$root : DOMElement

the root element

Return values
void

setQuery()

Set the query element

protected setQuery(DOMDocument $dom, DOMElement $root) : void
Parameters
$dom : DOMDocument

the dom document

$root : DOMElement

the root element

Return values
void

setStartIndex()

Set start index

protected setStartIndex(DOMDocument $dom, DOMElement $root) : void
Parameters
$dom : DOMDocument

the dom document

$root : DOMElement

the root element

Return values
void

setTotalResults()

Set total results

protected setTotalResults(DOMDocument $dom, DOMElement $root) : void
Parameters
$dom : DOMDocument

the dom document

$root : DOMElement

the root element

Return values
void

Search results