public function Entry::getSubtitle in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Podcast/Entry.php \Zend\Feed\Reader\Extension\Podcast\Entry::getSubtitle()
Get the entry subtitle
Return value
string
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Extension/ Podcast/ Entry.php, line 133
Class
Namespace
Zend\Feed\Reader\Extension\PodcastCode
public function getSubtitle() {
if (isset($this->data['subtitle'])) {
return $this->data['subtitle'];
}
$subtitle = $this->xpath
->evaluate('string(' . $this
->getXpathPrefix() . '/itunes:subtitle)');
if (!$subtitle) {
$subtitle = null;
}
$this->data['subtitle'] = $subtitle;
return $this->data['subtitle'];
}