Zend Framework
3.0
|
Public Member Functions | |
render () | |
Render feed/entry. | |
saveXml () | |
Save feed and/or entry to XML and return string. | |
getDomDocument () | |
Get DOM document. | |
getElement () | |
Get document element from DOM. | |
getDataContainer () | |
Get data container containing feed items. | |
ignoreExceptions () | |
Should exceptions be ignored? | |
getExceptions () | |
Get list of thrown exceptions. | |
setType ($type) | |
Set the current feed type being exported to "rss" or "atom". | |
getType () | |
Retrieve the current or last feed type exported. | |
setRootElement (DOMElement $root) | |
Sets the absolute root element for the XML feed being generated. | |
getRootElement () | |
Retrieve the absolute root element for the XML feed being generated. | |
getDataContainer | ( | ) |
Get data container containing feed items.
getDomDocument | ( | ) |
Get DOM document.
getElement | ( | ) |
Get document element from DOM.
getExceptions | ( | ) |
Get list of thrown exceptions.
getRootElement | ( | ) |
Retrieve the absolute root element for the XML feed being generated.
getType | ( | ) |
Retrieve the current or last feed type exported.
ignoreExceptions | ( | ) |
Should exceptions be ignored?
render | ( | ) |
Render feed/entry.
Implemented in Rss, Rss, Atom, AtomDeleted, AtomSource, Deleted, Atom, and Source.
saveXml | ( | ) |
Save feed and/or entry to XML and return string.
setRootElement | ( | DOMElement | $root | ) |
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 ;).
DOMElement | $root |
setType | ( | $type | ) |
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.
string | $type |