protected function AbstractFeed::loadExtensions in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-feed/src/Reader/AbstractFeed.php \Zend\Feed\Reader\AbstractFeed::loadExtensions()
- 8 vendor/zendframework/zend-feed/src/Reader/Feed/AbstractFeed.php \Zend\Feed\Reader\Feed\AbstractFeed::loadExtensions()
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Reader/AbstractFeed.php \Zend\Feed\Reader\AbstractFeed::loadExtensions()
1 call to AbstractFeed::loadExtensions()
- AbstractFeed::__construct in vendor/
zendframework/ zend-feed/ src/ Reader/ AbstractFeed.php - Constructor
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ AbstractFeed.php, line 272
Class
Namespace
Zend\Feed\ReaderCode
protected function loadExtensions() {
$all = Reader::getExtensions();
$manager = Reader::getExtensionManager();
$feed = $all['feed'];
foreach ($feed as $extension) {
if (in_array($extension, $all['core'])) {
continue;
}
$plugin = $manager
->get($extension);
$plugin
->setDomDocument($this
->getDomDocument());
$plugin
->setType($this->data['type']);
$plugin
->setXpath($this->xpath);
$this->extensions[$extension] = $plugin;
}
}