protected function Entry::_loadExtensions in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-feed/src/Writer/Entry.php \Zend\Feed\Writer\Entry::_loadExtensions()
Load extensions from Zend\Feed\Writer\Writer
Return value
void
1 call to Entry::_loadExtensions()
- Entry::__construct in vendor/
zendframework/ zend-feed/ src/ Writer/ Entry.php - Constructor: Primarily triggers the registration of core extensions and loads those appropriate to this data container.
File
- vendor/
zendframework/ zend-feed/ src/ Writer/ Entry.php, line 755
Class
Namespace
Zend\Feed\WriterCode
protected function _loadExtensions() {
$all = Writer::getExtensions();
$manager = Writer::getExtensionManager();
$exts = $all['entry'];
foreach ($exts as $ext) {
$this->extensions[$ext] = $manager
->get($ext);
$this->extensions[$ext]
->setEncoding($this
->getEncoding());
}
}