You are here

public function Feed::render in Zircon Profile 8.0

Same name in this branch
  1. 8.0 core/modules/views/src/Plugin/views/display/Feed.php \Drupal\views\Plugin\views\display\Feed::render()
  2. 8.0 vendor/zendframework/zend-feed/src/Writer/Extension/Atom/Renderer/Feed.php \Zend\Feed\Writer\Extension\Atom\Renderer\Feed::render()
  3. 8.0 vendor/zendframework/zend-feed/src/Writer/Extension/DublinCore/Renderer/Feed.php \Zend\Feed\Writer\Extension\DublinCore\Renderer\Feed::render()
  4. 8.0 vendor/zendframework/zend-feed/src/Writer/Extension/ITunes/Renderer/Feed.php \Zend\Feed\Writer\Extension\ITunes\Renderer\Feed::render()
Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-feed/src/Writer/Extension/Atom/Renderer/Feed.php \Zend\Feed\Writer\Extension\Atom\Renderer\Feed::render()

Render feed

Return value

void

File

vendor/zendframework/zend-feed/src/Writer/Extension/Atom/Renderer/Feed.php, line 34

Class

Feed

Namespace

Zend\Feed\Writer\Extension\Atom\Renderer

Code

public function render() {

  /**
   * RSS 2.0 only. Used mainly to include Atom links and
   * Pubsubhubbub Hub endpoint URIs under the Atom namespace
   */
  if (strtolower($this
    ->getType()) == 'atom') {
    return;
  }
  $this
    ->_setFeedLinks($this->dom, $this->base);
  $this
    ->_setHubs($this->dom, $this->base);
  if ($this->called) {
    $this
      ->_appendNamespaces();
  }
}