Zend\Feed\Writer\Renderer\Entry\Atom\Deleted
Synopsis
class Deleted
extends AbstractRenderer
implements
RendererInterface
{
- // Inherited members from AbstractRenderer
- protected array $extensions;
- protected AbstractFeed $container;
- protected DOMDocument $dom;
- protected bool $ignoreExceptions;
- protected array $exceptions;
- protected string $encoding;
- protected string $type;
- protected DOMElement $rootElement;
- // methods
- public void __construct()
- public Atom render()
- protected void _setComment()
- protected void _setBy()
- // Inherited methods from AbstractRenderer
- public void __construct()
- public string saveXml()
- public DOMDocument getDomDocument()
- public DOMElement getElement()
- public AbstractFeed getDataContainer()
- public AbstractRenderer setEncoding()
- public string getEncoding()
- public AbstractRenderer ignoreExceptions()
- public array getExceptions()
- public void setType()
- public string getType()
- public void setRootElement()
- public DOMElement getRootElement()
- protected void _loadExtensions()
Hierarchy
Extends
Implements
Members
protected
- $container — Zend\Feed\Writer\Renderer\Writer\AbstractFeed
- $dom — DOMDocument
- $encoding
—
string
Encoding of all text values - $exceptions — array
- $extensions
—
array
Extensions - $ignoreExceptions — Zend\Feed\Writer\Renderer\bool
- $rootElement — DOMElement
- $type
—
string
Holds the value "atom" or "rss" depending on the feed type set when when last exported.
Methods
protected
- _setBy() — Set entry authors
- _setComment() — Set tombstone comment
public
- __construct() — Constructor
- render() — Render atom entry
Inherited from Zend\Feed\Writer\Renderer\AbstractRenderer
protected
- _loadExtensions() — Load extensions from Zend\Feed\Writer\Writer
public
- getDataContainer() — Get data container of items being rendered
- getDomDocument() — Get DOM document
- getElement() — Get document element from DOM
- getEncoding() — Get feed encoding
- getExceptions() — Get exception list
- getRootElement() — Retrieve the absolute root element for the XML feed being generated.
- getType() — Retrieve the current or last feed type exported.
- ignoreExceptions() — Indicate whether or not to ignore exceptions
- saveXml() — Save XML to string
- setEncoding() — Set feed encoding
- setRootElement() — 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 ;).
- setType() — 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.