public function Entry::getDescription in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-feed/src/Writer/Entry.php \Zend\Feed\Writer\Entry::getDescription()
- 8 vendor/zendframework/zend-feed/src/Reader/Extension/Atom/Entry.php \Zend\Feed\Reader\Extension\Atom\Entry::getDescription()
- 8 vendor/zendframework/zend-feed/src/Reader/Extension/DublinCore/Entry.php \Zend\Feed\Reader\Extension\DublinCore\Entry::getDescription()
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Atom/Entry.php \Zend\Feed\Reader\Extension\Atom\Entry::getDescription()
Get the entry description
Return value
string
1 call to Entry::getDescription()
- Entry::getContent in vendor/
zendframework/ zend-feed/ src/ Reader/ Extension/ Atom/ Entry.php - Get the entry content
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Extension/ Atom/ Entry.php, line 217
Class
Namespace
Zend\Feed\Reader\Extension\AtomCode
public function getDescription() {
if (array_key_exists('description', $this->data)) {
return $this->data['description'];
}
$description = $this
->getXpath()
->evaluate('string(' . $this
->getXpathPrefix() . '/atom:summary)');
if (!$description) {
$description = null;
}
$this->data['description'] = $description;
return $this->data['description'];
}