package Default
inherited_from \Zend\Feed\Writer\Extension\AbstractRenderer

 Methods

Get data container being rendered

getDataContainer() : mixed
Inherited
inherited_from \Zend\Feed\Writer\Extension\RendererInterface::getDataContainer()

Returns

mixed

Get feed encoding

getEncoding() : string
Inherited

Returns

string

Get root element

getRootElement() : \DOMElement
Inherited

Returns

\DOMElement

Get feedtype

getType() : string
Inherited

Returns

string

Render entry

render() : void

Set the data container

setDataContainer(mixed $container) : \Zend\Feed\Writer\Extension\AbstractRenderer
Inherited
inherited_from \Zend\Feed\Writer\Extension\RendererInterface::setDataContainer()

Parameters

$container

mixed

Returns

\Zend\Feed\Writer\Extension\AbstractRenderer

Set DOMDocument and DOMElement on which to operate

setDomDocument(\DOMDocument $dom, \DOMElement $base) : \Zend\Feed\Writer\Extension\AbstractRenderer
Inherited
inherited_from \Zend\Feed\Writer\Extension\RendererInterface::setDomDocument()

Parameters

$dom

\DOMDocument

$base

\DOMElement

Returns

\Zend\Feed\Writer\Extension\AbstractRenderer

Set feed encoding

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

Parameters

$enc

string

Returns

\Zend\Feed\Writer\Extension\AbstractRenderer

Set root element of document

setRootElement(\DOMElement $root) : \Zend\Feed\Writer\Extension\AbstractRenderer
Inherited

Parameters

$root

\DOMElement

Returns

\Zend\Feed\Writer\Extension\AbstractRenderer

Set feed type

setType(string $type) : \Zend\Feed\Writer\Extension\AbstractRenderer
Inherited

Parameters

$type

string

Returns

\Zend\Feed\Writer\Extension\AbstractRenderer

Append namespaces to entry

_appendNamespaces() : void
inherited_from \Zend\Feed\Writer\Extension\AbstractRenderer::_appendNamespaces()

Append namespaces to feed

_appendNamespaces() : void
Inherited

Set entry author elements

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

Parameters

$dom

\DOMDocument

$root

\DOMElement

 Properties

 

$base

$base : \DOMElement

Default

null
 

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.

$called : boolean

Default

false
 

$container

$container : mixed

Default

null
 

$dom

$dom : \DOMDocument

Default

null
 

Encoding of all text values

$encoding : string

Default

'UTF-8'
 

$entry

$entry : mixed

Default

null
 

$rootElement

$rootElement : \DOMElement

Default

null
 

$type

$type : string

Default

null