public function Rss::getHubs in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-feed/src/Reader/Feed/Rss.php \Zend\Feed\Reader\Feed\Rss::getHubs()
Get an array of any supported Pusubhubbub endpoints
Return value
array|null
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Feed/ Rss.php, line 600
Class
Namespace
Zend\Feed\Reader\FeedCode
public function getHubs() {
if (array_key_exists('hubs', $this->data)) {
return $this->data['hubs'];
}
$hubs = $this
->getExtension('Atom')
->getHubs();
if (empty($hubs)) {
$hubs = null;
}
else {
$hubs = array_unique($hubs);
}
$this->data['hubs'] = $hubs;
return $this->data['hubs'];
}