Methods
Get data container containing feed items
getDataContainer() : mixed
Get DOM document
getDomDocument() : \DOMDocument
Get document element from DOM
getElement() : \DOMElement
Get list of thrown exceptions
getExceptions() : array
Retrieve the absolute root element for the XML feed being generated.
getRootElement() : \DOMElement
Retrieve the current or last feed type exported.
getType() : string
Returns
string
Value will be "rss" or "atom"
Should exceptions be ignored?
ignoreExceptions() : mixed
Render feed/entry
render() : void
Save feed and/or entry to XML and return string
saveXml() : string
Sets the absolute root element for the XML feed being generated. This
helps simplify the appending of namespace declarations, but also ensures
namespaces are added to the root element - not scattered across the entire
XML file - may assist namespace unsafe parsers and looks pretty ;).
setRootElement(\DOMElement $root)
Parameters
$root
\DOMElement
Set the current feed type being exported to "rss" or "atom". This allows
other objects to gracefully choose whether to execute or not, depending
on their appropriateness for the current type, e.g. renderers.
setType(string $type)