[ Index ]

PHP Cross Reference of Nucleus CMS 3.32

title

Body

[close]

/nucleus/libs/ -> COMMENTS.php (summary)

A class representing the comments (all of them) for a certain post on a ceratin blog

Copyright: Copyright (C) 2002-2007 The Nucleus Group
License: http://nucleuscms.org/license.txt GNU General Public License
Version: $Id: COMMENTS.php 1155 2007-05-20 23:40:48Z kaigreve $
File Size: 324 lines (11 kb)
Included or required: 1 time
Referenced: 1 time
Includes or requires: 0 files

Defines 1 class

COMMENTS:: (6 methods):
  COMMENTS()
  setItemActions()
  showComments()
  amountComments()
  addComment()
  isValidComment()


Class: COMMENTS  - X-Ref

COMMENTS($itemid)   X-Ref
Creates a new COMMENTS object for the given blog and item

param: $itemid

setItemActions(&$itemActions)   X-Ref
Used when parsing comments

param: $itemActions

showComments($template, $maxToShow = -1, $showNone = 1, $highlight = '')   X-Ref
Shows maximum $max comments to the given item using the given template
returns the amount of shown comments (if maxToShow = -1, then there is no limit)

param: template
param: maxToShow
param: showNone
param: highlight

amountComments()   X-Ref
Returns the amount of comments for this itemid


addComment($timestamp, $comment)   X-Ref
No description

isValidComment($comment, & $spamcheck)   X-Ref
No description



Generated: Tue Feb 12 15:34:36 2008 Cross-referenced by PHPXref 0.7