![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/laminas/laminas-feed/src/Writer/Renderer/ |
<?php declare(strict_types=1); namespace Laminas\Feed\Writer\Renderer; use DOMDocument; use DOMElement; interface RendererInterface { /** * Render feed/entry * * @return void */ public function render(); /** * Save feed and/or entry to XML and return string * * @return string */ public function saveXml(); /** * Get DOM document * * @return DOMDocument */ public function getDomDocument(); /** * Get document element from DOM * * @return DOMElement */ public function getElement(); /** * Get data container containing feed items * * @return mixed */ public function getDataContainer(); /** * Should exceptions be ignored? * * @return mixed */ public function ignoreExceptions(); /** * Get list of thrown exceptions * * @return array */ public function getExceptions(); /** * 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. * * @param string $type */ public function setType($type); /** * Retrieve the current or last feed type exported. * * @return string Value will be "rss" or "atom" */ public function getType(); /** * 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 ;). */ public function setRootElement(DOMElement $root); /** * Retrieve the absolute root element for the XML feed being generated. * * @return DOMElement */ public function getRootElement(); }