public function Entry::getContent in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-feed/src/Writer/Entry.php \Zend\Feed\Writer\Entry::getContent()
- 8 vendor/zendframework/zend-feed/src/Reader/Extension/Content/Entry.php \Zend\Feed\Reader\Extension\Content\Entry::getContent()
- 8 vendor/zendframework/zend-feed/src/Reader/Extension/Atom/Entry.php \Zend\Feed\Reader\Extension\Atom\Entry::getContent()
- 8 vendor/zendframework/zend-feed/src/Reader/Extension/DublinCore/Entry.php \Zend\Feed\Reader\Extension\DublinCore\Entry::getContent()
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Content/Entry.php \Zend\Feed\Reader\Extension\Content\Entry::getContent()
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Extension/ Content/ Entry.php, line 17
Class
Namespace
Zend\Feed\Reader\Extension\ContentCode
public function getContent() {
if ($this
->getType() !== Reader\Reader::TYPE_RSS_10 && $this
->getType() !== Reader\Reader::TYPE_RSS_090) {
$content = $this->xpath
->evaluate('string(' . $this
->getXpathPrefix() . '/content:encoded)');
}
else {
$content = $this->xpath
->evaluate('string(' . $this
->getXpathPrefix() . '/content:encoded)');
}
return $content;
}