phpDocumentor pond
[ class tree: pond ] [ index: pond ] [ all elements ]

Procedural File: _comment.funcs.php

Source Location: /qp_inc/comments/model/_comment.funcs.php

Page Details

This file implements Comment handling functions.

This file is part of the Quam Plures project - See also

Author:  fplanque: Francois PLANQUE.
Author:  blueyed: Daniel HAHLER.
Author:  cafelog (team)
Copyright:  (c) 2009 - 2011 by the Quam Plures developers -
Copyright:  (c)2003-2009 by Francois PLANQUE - Parts of this file are copyright (c)2004-2005 by Daniel HAHLER -

implement CommentCache based on LinkCache

Filesource:  Source Code for this file
License:  GNU General Public License (GPL)
comments_number  [line 184]

void comments_number( [ $zero = '#'], [ $one = '#'], [ $more = '#'], [ $post_ID = NULL]  )



API Tags:
Deprecated:  deprecated by Item::feedback_link()

Information Tags:
Todo:  EdB: this is used by qp_inc/items/views/_item_list_full.view.php in v0.0.0 (EdB)

[ Top ]
Comment_get_by_ID  [line 148]

Comment Comment_get_by_ID( integer $comment_ID  )

Get a Comment by ID. Exits if the requested comment does not exist!

integer   $comment_ID: 

[ Top ]
generic_ctp_number  [line 42]

void generic_ctp_number( integer $post_id, [string $mode = 'comments'], [ $status = 'published']  )

Generic comments/trackbacks counting

integer   $post_id: 
string   $mode:  what to count

Information Tags:
Todo:  check this in a multiblog page...
Todo:  This should support visibility: at least in the default front office (_feedback.php), there should only the number of visible comments/trackbacks get used (Item::feedback_link()).

[ Top ]