comment.lib.php File Reference

Controls comments. More...


Functions

 browserCommentAdd ()
 customize browser title when adding comment
 commentLink ()
 creates a comment link
 commentBox ()
 display comments
 displayComment ($id, $author, $email, $timestamp, $title, $comment)
 display one comment
 commentAdd ()
 display a form to add a comment
 onSubmitComment ()
 called when user submit a new comment
 onDeleteComment ()
 called when user delete a comment

Variables

 $contentBoxHandle ['comment'] = 'commentAdd'
 $userActionHandle ['comment'] = 'onSubmitComment'
 $userActionHandle ['comment_del'] = 'onDeleteComment'
 $browserTitlePageHandle ['comment'] = 'browserCommentAdd'


Detailed Description

Controls comments.

This file creates several hooks :

Edition is done via a form that contains several fields :

This page contains also one helper functions for the user to create template :


Function Documentation

browserCommentAdd (  ) 

customize browser title when adding comment

Returns:
browser title

commentAdd (  ) 

display a form to add a comment

Returns:
html blob

displayComment ( id,
author,
email,
timestamp,
title,
comment 
)

display one comment

Returns:
html blob

onDeleteComment (  ) 

called when user delete a comment

onSubmitComment (  ) 

called when user submit a new comment


Generated on Mon Feb 19 19:11:58 2007 for Wiclear by  doxygen 1.4.7