Class

CommentsManager

Package: content Author: Kevin MASSY <kevin.massy@phpboost.com> Desc: This class manage comments with different functions Located at content/comments/CommentsManager.class.php
Methods summary
public static
# __static( )
public static
# add_comment( mixed $module_id, mixed $id_in_module, mixed $topic_identifier, mixed $topic_path, mixed $message, mixed $pseudo = '' )
public static
# edit_comment( mixed $comment_id, mixed $message )
public static
# delete_comment( mixed $comment_id )
public static
# comment_exists( mixed $comment_id )
public static
# delete_comments_module( mixed $module_id )
public static
# delete_comments_topic_module( mixed $module_id, mixed $id_in_module )
public static
# get_number_comments( mixed $module_id, mixed $id_in_module, mixed $topic_identifier )
public static
# get_user_id_posted_comment( mixed $comment_id )
public static
# get_last_comment_added( mixed $user_id )
public static
# comment_topic_locked( mixed $module_id, mixed $id_in_module, mixed $topic_identifier )
public static
# lock_topic( mixed $module_id, mixed $id_in_module, mixed $topic_identifier )
public static
# unlock_topic( mixed $module_id, mixed $id_in_module, mixed $topic_identifier )