Methods
Get data container of items being rendered
getDataContainer() : \Zend\Feed\Writer\AbstractFeed
Inherited
inherited_from |
\Zend\Feed\Writer\Renderer\AbstractRenderer::getDataContainer() |
Returns
Get DOM document
getDomDocument() : \DOMDocument
Inherited
inherited_from |
\Zend\Feed\Writer\Renderer\AbstractRenderer::getDomDocument() |
Returns
Get document element from DOM
getElement() : \DOMElement
Inherited
inherited_from |
\Zend\Feed\Writer\Renderer\AbstractRenderer::getElement() |
Returns
Get feed encoding
getEncoding() : string
Inherited
inherited_from |
\Zend\Feed\Writer\Renderer\AbstractRenderer::getEncoding() |
Returns
string
Get exception list
getExceptions() : array
Inherited
inherited_from |
\Zend\Feed\Writer\Renderer\AbstractRenderer::getExceptions() |
Returns
array
Retrieve the absolute root element for the XML feed being generated.
getRootElement() : \DOMElement
Inherited
inherited_from |
\Zend\Feed\Writer\Renderer\AbstractRenderer::getRootElement() |
Returns
Retrieve the current or last feed type exported.
getType() : string
Inherited
inherited_from |
\Zend\Feed\Writer\Renderer\AbstractRenderer::getType() |
Returns
string
Value will be "rss" or "atom"
Indicate whether or not to ignore exceptions
ignoreExceptions(bool $bool) : \Zend\Feed\Writer\Renderer\AbstractRenderer
Inherited
inherited_from |
\Zend\Feed\Writer\Renderer\AbstractRenderer::ignoreExceptions() |
Parameters
$bool
bool
Exceptions
Returns
Save XML to string
saveXml() : string
Inherited
inherited_from |
\Zend\Feed\Writer\Renderer\AbstractRenderer::saveXml() |
Returns
string
Sets the absolute root element for the XML feed being generated.
setRootElement(\DOMElement $root)
Inherited
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 ;).
inherited_from |
\Zend\Feed\Writer\Renderer\AbstractRenderer::setRootElement() |
Parameters
Set the current feed type being exported to "rss" or "atom".
setType(string $type)
Inherited
This allows
other objects to gracefully choose whether to execute or not, depending
on their appropriateness for the current type, e.g. renderers.
inherited_from |
\Zend\Feed\Writer\Renderer\AbstractRenderer::setType() |
Parameters
$type
string
Load extensions from Zend\Feed\Writer\Writer
_loadExtensions() : void
Inherited
inherited_from |
\Zend\Feed\Writer\Renderer\AbstractRenderer::_loadExtensions() |
Set feed authors
_setAuthors(\DOMDocument $dom, \DOMElement $root) : void
Set base URL to feed links
_setBaseUrl(\DOMDocument $dom, \DOMElement $root) : void
Set feed categories
_setCategories(\DOMDocument $dom, \DOMElement $root) : void
Set feed copyright
_setCopyright(\DOMDocument $dom, \DOMElement $root) : void
Set date feed was created
_setDateCreated(\DOMDocument $dom, \DOMElement $root) : void
Set date feed was last modified
_setDateModified(\DOMDocument $dom, \DOMElement $root) : void
Set feed description
_setDescription(\DOMDocument $dom, \DOMElement $root) : void
Set feed links
_setFeedLinks(\DOMDocument $dom, \DOMElement $root) : void
Set feed generator string
_setGenerator(\DOMDocument $dom, \DOMElement $root) : void
Set hubs to which this feed pushes
_setHubs(\DOMDocument $dom, \DOMElement $root) : void
Set feed identifier
_setId(\DOMDocument $dom, \DOMElement $root) : void
Set feed level logo (image)
_setImage(\DOMDocument $dom, \DOMElement $root) : void
Set feed language
_setLanguage(\DOMDocument $dom, \DOMElement $root) : void
Set link to feed
_setLink(\DOMDocument $dom, \DOMElement $root) : void
Set feed title
_setTitle(\DOMDocument $dom, \DOMElement $root) : void
Properties
$dom
$dom : \DOMDocument
Inherited
inherited_from |
\Zend\Feed\Writer\Renderer\AbstractRenderer::$$dom |
Encoding of all text values
$encoding : string
Inherited
inherited_from |
\Zend\Feed\Writer\Renderer\AbstractRenderer::$$encoding |
$exceptions
$exceptions : array
Inherited
inherited_from |
\Zend\Feed\Writer\Renderer\AbstractRenderer::$$exceptions |
Extensions
$extensions : array
Inherited
inherited_from |
\Zend\Feed\Writer\Renderer\AbstractRenderer::$$extensions |
$ignoreExceptions
$ignoreExceptions : bool
Inherited
inherited_from |
\Zend\Feed\Writer\Renderer\AbstractRenderer::$$ignoreExceptions |
$rootElement
$rootElement : \DOMElement
Inherited
inherited_from |
\Zend\Feed\Writer\Renderer\AbstractRenderer::$$rootElement |
Holds the value "atom" or "rss" depending on the feed type set when
when last exported.
$type : string
Inherited
inherited_from |
\Zend\Feed\Writer\Renderer\AbstractRenderer::$$type |