protected function Entry::registerNamespaces in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Content/Entry.php \Zend\Feed\Reader\Extension\Content\Entry::registerNamespaces()
- 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/WellFormedWeb/Entry.php \Zend\Feed\Reader\Extension\WellFormedWeb\Entry::registerNamespaces()
- 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Atom/Entry.php \Zend\Feed\Reader\Extension\Atom\Entry::registerNamespaces()
- 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Podcast/Entry.php \Zend\Feed\Reader\Extension\Podcast\Entry::registerNamespaces()
- 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Thread/Entry.php \Zend\Feed\Reader\Extension\Thread\Entry::registerNamespaces()
- 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Slash/Entry.php \Zend\Feed\Reader\Extension\Slash\Entry::registerNamespaces()
- 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/DublinCore/Entry.php \Zend\Feed\Reader\Extension\DublinCore\Entry::registerNamespaces()
- 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/CreativeCommons/Entry.php \Zend\Feed\Reader\Extension\CreativeCommons\Entry::registerNamespaces()
Same name and namespace in other branches
- 8 vendor/zendframework/zend-feed/src/Reader/Extension/Atom/Entry.php \Zend\Feed\Reader\Extension\Atom\Entry::registerNamespaces()
Register the default namespaces for the current feed format
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Extension/ Atom/ Entry.php, line 603
Class
Namespace
Zend\Feed\Reader\Extension\AtomCode
protected function registerNamespaces() {
switch ($this
->getAtomType()) {
case Reader\Reader::TYPE_ATOM_03:
$this
->getXpath()
->registerNamespace('atom', Reader\Reader::NAMESPACE_ATOM_03);
break;
default:
$this
->getXpath()
->registerNamespace('atom', Reader\Reader::NAMESPACE_ATOM_10);
break;
}
}