Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Newscoop
Services
CommentService
countBy
Newscoop\Services\CommentService::countBy PHP Method
CommentService Class Documentation
Show file
Open project: sourcefabric/newscoop
countBy()
public
method
Get total count for given criteria
public
countBy
(
array
$criteria
) :
integer
$criteria
array
return
integer
public function countBy(array $criteria) { return count($this->findBy($criteria)); }
CommentService
__construct
comment_create
comment_delete
comment_recommended
comment_update
countBy
find
findBy
findUserComments
getAllReplies
getArticleStats
getCommentCounts
getCommentsEnabled
getRepository
isBanned
remove
save
searchByPhrase
update
updateComment