COMMENT Class Reference

List of all members.

Public Member Functions

 getComment ($commentid)
 prepare ($comment)
 prepareBody ($body)
 createLinkCode ($pre, $url, $protocol= 'http')


Detailed Description

A class representing a single comment

http://nucleuscms.org/license.txt GNU General Public License Copyright (C) 2002-2007 The Nucleus Group

Version:
Id
COMMENT.php 1116 2007-02-03 08:24:29Z kimitake
NucleusJP
COMMENT.php,v 1.5 2007/02/04 06:28:46 kimitake Exp

Definition at line 21 of file COMMENT.php.


Member Function Documentation

COMMENT::getComment ( commentid  ) 

Returns the requested comment (static)

Definition at line 26 of file COMMENT.php.

References $query, mysql_fetch_assoc(), sql_query(), and sql_table().

Referenced by ADMIN::action_commentdelete().

COMMENT::prepare ( comment  ) 

prepares a comment to be saved (static)

Definition at line 44 of file COMMENT.php.

References prepareBody().

Referenced by COMMENTS::addComment().

COMMENT::prepareBody ( body  ) 

Definition at line 60 of file COMMENT.php.

References addBreaks().

Referenced by ADMIN::action_commentupdate(), and prepare().

COMMENT::createLinkCode ( pre,
url,
protocol = 'http' 
)

Definition at line 93 of file COMMENT.php.

References shorten().


The documentation for this class was generated from the following file:



Generated on Wed Jun 25 17:26:02 2008 by  doxygen 1.5.5