public function getCountTotalEntries()
    {
        if ($this->feeds->isEmpty()) {
            return 0;
        }

        /** @var FeedEntryRepository $feedEntryRepository */
        $feedEntryRepository = $this->em->getRepository('Phraseanet:FeedEntry');

        return $feedEntryRepository->countByFeeds($this->feeds->getKeys());
    }
public function getCountTotalEntries()
    {
        if ($this->feeds->isEmpty()) {
            return 0;
        }

        /** @var FeedEntryRepository $feedEntryRepository */
        $feedEntryRepository = $this->em->getRepository('Phraseanet:FeedEntry');

        return $feedEntryRepository->countByFeeds($this->feeds->getKeys());
    }
public function getCountTotalEntries ( ) { if ( $ this -> feeds -> isEmpty ( ) ) { return 0 ; } /** @var FeedEntryRepository $feedEntryRepository */ $ feedEntryRepository = $ this -> em -> getRepository ( 'Phraseanet:FeedEntry' ) ; return $ feedEntryRepository -> countByFeeds ( $ this -> feeds -> getKeys ( ) ) ; }
Returns the total number of entries from all the feeds.

@return int
Returns the total number of entries from all the feeds .