You are here

public function AbstractFeed::getExtension in Zircon Profile 8

Same name in this branch
  1. 8 vendor/zendframework/zend-feed/src/Reader/AbstractFeed.php \Zend\Feed\Reader\AbstractFeed::getExtension()
  2. 8 vendor/zendframework/zend-feed/src/Reader/Feed/AbstractFeed.php \Zend\Feed\Reader\Feed\AbstractFeed::getExtension()
Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/Reader/Feed/AbstractFeed.php \Zend\Feed\Reader\Feed\AbstractFeed::getExtension()

Return an Extension object with the matching name (postfixed with _Feed)

Parameters

string $name:

Return value

\Zend\Feed\Reader\Extension\AbstractFeed

5 calls to AbstractFeed::getExtension()
Rss::getCopyright in vendor/zendframework/zend-feed/src/Reader/Feed/Rss.php
Get the copyright entry
Rss::getDescription in vendor/zendframework/zend-feed/src/Reader/Feed/Rss.php
Get the feed description
Rss::getId in vendor/zendframework/zend-feed/src/Reader/Feed/Rss.php
Get the feed ID
Rss::getLanguage in vendor/zendframework/zend-feed/src/Reader/Feed/Rss.php
Get the feed language
Rss::getTitle in vendor/zendframework/zend-feed/src/Reader/Feed/Rss.php
Get the feed title

File

vendor/zendframework/zend-feed/src/Reader/Feed/AbstractFeed.php, line 268

Class

AbstractFeed

Namespace

Zend\Feed\Reader\Feed

Code

public function getExtension($name) {
  if (array_key_exists($name . '\\Feed', $this->extensions)) {
    return $this->extensions[$name . '\\Feed'];
  }
  return;
}