public function Atom::getImage in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Reader/Feed/Atom.php \Zend\Feed\Reader\Feed\Atom::getImage()
Get feed image data
Return value
array|null
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Feed/ Atom.php, line 283
Class
Namespace
Zend\Feed\Reader\FeedCode
public function getImage() {
if (array_key_exists('image', $this->data)) {
return $this->data['image'];
}
$link = $this
->getExtension('Atom')
->getImage();
$this->data['image'] = $link;
return $this->data['image'];
}