Class DoCommentCount
source code
Gets comment count for the given params and populates the template
context with a variable containing that value, whose name is defined by
the 'as' clause.
Syntax:
{% get_comment_count for [pkg].[py_module_name] [context_var_containing_obj_id] as [varname] %}
Example usage:
{% get_comment_count for lcom.eventtimes event.id as comment_count %}
Note: ``[context_var_containing_obj_id]`` can also be a hard-coded
integer, like this:
{% get_comment_count for lcom.eventtimes 23 as comment_count %}