function comment_service_node_comments_count_all in Services 7
Same name and namespace in other branches
- 6.2 services/comment_service/comment_service.inc \comment_service_node_comments_count_all()
Returns the number of comments on a given node id.
Parameters
$nid: Unique identifier for the specified node.
Return value
Number of comments that node has.
1 string reference to 'comment_service_node_comments_count_all'
- comment_service_service in services/
comment_service/ comment_service.module - Implementation of hook_service().
File
- services/
comment_service/ comment_service.inc, line 95 - @author Services Dev Team
Code
function comment_service_node_comments_count_all($nid) {
return comment_num_all($nid);
}