You are here

protected function Feed::registerNamespaces in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Syndication/Feed.php \Zend\Feed\Reader\Extension\Syndication\Feed::registerNamespaces()
  2. 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Atom/Feed.php \Zend\Feed\Reader\Extension\Atom\Feed::registerNamespaces()
  3. 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Podcast/Feed.php \Zend\Feed\Reader\Extension\Podcast\Feed::registerNamespaces()
  4. 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/DublinCore/Feed.php \Zend\Feed\Reader\Extension\DublinCore\Feed::registerNamespaces()
  5. 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/CreativeCommons/Feed.php \Zend\Feed\Reader\Extension\CreativeCommons\Feed::registerNamespaces()
Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-feed/src/Reader/Extension/DublinCore/Feed.php \Zend\Feed\Reader\Extension\DublinCore\Feed::registerNamespaces()

Register the default namespaces for the current feed format

Return value

void

File

vendor/zendframework/zend-feed/src/Reader/Extension/DublinCore/Feed.php, line 271

Class

Feed

Namespace

Zend\Feed\Reader\Extension\DublinCore

Code

protected function registerNamespaces() {
  $this
    ->getXpath()
    ->registerNamespace('dc10', 'http://purl.org/dc/elements/1.0/');
  $this
    ->getXpath()
    ->registerNamespace('dc11', 'http://purl.org/dc/elements/1.1/');
}