category Zend
package Zend_Feed_Writer

 Methods

Constructor

__construct(\Zend\Feed\Writer\Deleted $container) 

Parameters

Get data container containing feed items

getDataContainer() : mixed
Inherited

inherited_from \Zend\Feed\Writer\Renderer\RendererInterface::getDataContainer()

Returns

mixed

Get DOM document

getDomDocument() : \DOMDocument
Inherited

inherited_from \Zend\Feed\Writer\Renderer\RendererInterface::getDomDocument()

Returns

Get document element from DOM

getElement() : \DOMElement
Inherited

inherited_from \Zend\Feed\Writer\Renderer\RendererInterface::getElement()

Returns

Get feed encoding

getEncoding() : string
Inherited

inherited_from \Zend\Feed\Writer\Renderer\AbstractRenderer::getEncoding()

Returns

string

Get list of thrown exceptions

getExceptions() : array
Inherited

inherited_from \Zend\Feed\Writer\Renderer\RendererInterface::getExceptions()

Returns

array

Retrieve the absolute root element for the XML feed being generated.

getRootElement() : \DOMElement
Inherited

inherited_from \Zend\Feed\Writer\Renderer\RendererInterface::getRootElement()

Returns

Retrieve the current or last feed type exported.

getType() : string
Inherited

inherited_from \Zend\Feed\Writer\Renderer\RendererInterface::getType()

Returns

stringValue will be "rss" or "atom"

Should exceptions be ignored?

ignoreExceptions() : mixed
Inherited

inherited_from \Zend\Feed\Writer\Renderer\RendererInterface::ignoreExceptions()

Exceptions

\Zend\Feed\Writer\Exception\InvalidArgumentException

Returns

mixed

Save feed and/or entry to XML and return string

saveXml() : string
Inherited

inherited_from \Zend\Feed\Writer\Renderer\RendererInterface::saveXml()

Returns

string

Set feed encoding

setEncoding(string $enc) : \Zend\Feed\Writer\Renderer\AbstractRenderer
Inherited

inherited_from \Zend\Feed\Writer\Renderer\AbstractRenderer::setEncoding()

Parameters

$enc

string

Returns

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\RendererInterface::setRootElement()

Parameters

$root

\DOMElement

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\RendererInterface::setType()

Parameters

$type

string

Load extensions from Zend_Feed_Writer

_loadExtensions() : void
Inherited

inherited_from \Zend\Feed\Writer\Renderer\AbstractRenderer::_loadExtensions()

Set entry authors

_setBy(\DOMDocument $dom, \DOMElement $root) : void

Parameters

$root

\DOMElement

Set tombstone comment

_setComment(\DOMDocument $dom, \DOMElement $root) : void

Parameters

$root

\DOMElement

 Properties

 

$container

$container : \Zend\Feed\Writer\AbstractFeed
Inherited

inherited_from \Zend\Feed\Writer\Renderer\AbstractRenderer::$$container
 

$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