public function Entry::getCommentCount in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-feed/src/Writer/Entry.php \Zend\Feed\Writer\Entry::getCommentCount()
- 8 vendor/zendframework/zend-feed/src/Reader/Extension/Atom/Entry.php \Zend\Feed\Reader\Extension\Atom\Entry::getCommentCount()
- 8 vendor/zendframework/zend-feed/src/Reader/Extension/Thread/Entry.php \Zend\Feed\Reader\Extension\Thread\Entry::getCommentCount()
- 8 vendor/zendframework/zend-feed/src/Reader/Extension/Slash/Entry.php \Zend\Feed\Reader\Extension\Slash\Entry::getCommentCount()
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Slash/Entry.php \Zend\Feed\Reader\Extension\Slash\Entry::getCommentCount()
Get the entry comments
Return value
int
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Extension/ Slash/ Entry.php, line 71
Class
Namespace
Zend\Feed\Reader\Extension\SlashCode
public function getCommentCount() {
$name = 'comments';
if (isset($this->data[$name])) {
return $this->data[$name];
}
$comments = $this
->getData($name, 'string');
if (!$comments) {
$this->data[$name] = null;
return $this->data[$name];
}
return $comments;
}