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 - http://quamplures.net/. See also https://launchpad.net/quam-plures.

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

implement CommentCache based on LinkCache

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

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

comments_number(-)

Parameters:
   $zero: 
   $one: 
   $more: 
   $post_ID: 

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!

Parameters:
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

Parameters:
integer   $post_id: 
string   $mode:  what to count
   $status: 

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 ]