You are here

public function Entry::getCommentCount in Zircon Profile 8

Same name in this branch
  1. 8 vendor/zendframework/zend-feed/src/Writer/Entry.php \Zend\Feed\Writer\Entry::getCommentCount()
  2. 8 vendor/zendframework/zend-feed/src/Reader/Extension/Atom/Entry.php \Zend\Feed\Reader\Extension\Atom\Entry::getCommentCount()
  3. 8 vendor/zendframework/zend-feed/src/Reader/Extension/Thread/Entry.php \Zend\Feed\Reader\Extension\Thread\Entry::getCommentCount()
  4. 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
  1. 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Thread/Entry.php \Zend\Feed\Reader\Extension\Thread\Entry::getCommentCount()

Get the total number of threaded responses (i.e comments)

Return value

int|null

File

vendor/zendframework/zend-feed/src/Reader/Extension/Thread/Entry.php, line 35

Class

Entry

Namespace

Zend\Feed\Reader\Extension\Thread

Code

public function getCommentCount() {
  return $this
    ->getData('total');
}