You are here

protected function Feed::_appendNamespaces in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/zendframework/zend-feed/src/Writer/Extension/Atom/Renderer/Feed.php \Zend\Feed\Writer\Extension\Atom\Renderer\Feed::_appendNamespaces()
  2. 8.0 vendor/zendframework/zend-feed/src/Writer/Extension/DublinCore/Renderer/Feed.php \Zend\Feed\Writer\Extension\DublinCore\Renderer\Feed::_appendNamespaces()
  3. 8.0 vendor/zendframework/zend-feed/src/Writer/Extension/ITunes/Renderer/Feed.php \Zend\Feed\Writer\Extension\ITunes\Renderer\Feed::_appendNamespaces()
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::_appendNamespaces()

Append namespaces to root element of feed

Return value

void

1 call to Feed::_appendNamespaces()
Feed::render in vendor/zendframework/zend-feed/src/Writer/Extension/Atom/Renderer/Feed.php
Render feed

File

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

Class

Feed

Namespace

Zend\Feed\Writer\Extension\Atom\Renderer

Code

protected function _appendNamespaces() {
  $this
    ->getRootElement()
    ->setAttribute('xmlns:atom', 'http://www.w3.org/2005/Atom');
}