Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

__construct(
\Zend_Feed_Writer_Entry $container
)
:
void
Constructor
Name | Type | Description |
---|---|---|
$container | \Zend_Feed_Writer_Entry |

_loadExtensions(
)
:
void
Load extensions from Zend_Feed_Writer
Inherited from: \Zend_Feed_Writer_Renderer_RendererAbstract::_loadExtensions()
_setAuthors(
\DOMDocument $dom, \DOMElement $root
)
:
void
Set entry authors
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |

_setCategories(
\DOMDocument $dom, \DOMElement $root
)
:
void
Set entry categories
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |

_setCommentLink(
\DOMDocument $dom, \DOMElement $root
)
:
void
Set link to entry comments
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |

_setDateCreated(
\DOMDocument $dom, \DOMElement $root
)
:
void
Set date entry was created
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |

_setDateModified(
\DOMDocument $dom, \DOMElement $root
)
:
void
Set date entry was last modified
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |

_setDescription(
\DOMDocument $dom, \DOMElement $root
)
:
void
Set entry description
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |

_setEnclosure(
\DOMDocument $dom, \DOMElement $root
)
:
void
Set entry enclosure
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |

_setId(
\DOMDocument $dom, \DOMElement $root
)
:
void
Set entry identifier
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |

_setLink(
\DOMDocument $dom, \DOMElement $root
)
:
void
Set link to entry
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |

_setTitle(
\DOMDocument $dom, \DOMElement $root
)
:
void
Set entry title
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |

getDataContainer(
)
:
mixed
Get data container containing feed items
Inherited from: \Zend_Feed_Writer_Renderer_RendererInterface::getDataContainer()Type | Description |
---|---|
mixed |

getDomDocument(
)
:
\DOMDocument
Get DOM document
Inherited from: \Zend_Feed_Writer_Renderer_RendererInterface::getDomDocument()Type | Description |
---|---|
\DOMDocument |

getElement(
)
:
\DOMElement
Get document element from DOM
Inherited from: \Zend_Feed_Writer_Renderer_RendererInterface::getElement()Type | Description |
---|---|
\DOMElement |

getEncoding(
)
:
string
Get feed encoding
Inherited from: \Zend_Feed_Writer_Renderer_RendererAbstract::getEncoding()Type | Description |
---|---|
string |

getExceptions(
)
:
array
Get list of thrown exceptions
Inherited from: \Zend_Feed_Writer_Renderer_RendererInterface::getExceptions()Type | Description |
---|---|
array |

getRootElement(
)
:
\DOMElement
Retrieve the absolute root element for the XML feed being generated.
Inherited from: \Zend_Feed_Writer_Renderer_RendererInterface::getRootElement()Type | Description |
---|---|
\DOMElement |

getType(
)
:
string
Retrieve the current or last feed type exported.
Inherited from: \Zend_Feed_Writer_Renderer_RendererInterface::getType()Type | Description |
---|---|
string | Value will be "rss" or "atom" |

ignoreExceptions(
)
:
mixed
Should exceptions be ignored?
Inherited from: \Zend_Feed_Writer_Renderer_RendererInterface::ignoreExceptions()Type | Description |
---|---|
mixed |

render(
)
:
\Zend_Feed_Writer_Renderer_Entry_Rss
Render RSS entry
Type | Description |
---|---|
\Zend_Feed_Writer_Renderer_Entry_Rss |

saveXml(
)
:
string
Save feed and/or entry to XML and return string
Inherited from: \Zend_Feed_Writer_Renderer_RendererInterface::saveXml()Type | Description |
---|---|
string |

setEncoding(
string $enc
)
:
\Zend_Feed_Writer_Renderer_RendererAbstract
Set feed encoding
Inherited from: \Zend_Feed_Writer_Renderer_RendererAbstract::setEncoding()Name | Type | Description |
---|---|---|
$enc | string |
Type | Description |
---|---|
\Zend_Feed_Writer_Renderer_RendererAbstract |

setRootElement(
\DOMElement $root
)
:
void
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 ;).
Inherited from: \Zend_Feed_Writer_Renderer_RendererInterface::setRootElement()Name | Type | Description |
---|---|---|
$root | \DOMElement |

setType(
string $type
)
:
void
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.
Inherited from: \Zend_Feed_Writer_Renderer_RendererInterface::setType()Name | Type | Description |
---|---|---|
$type | string |