Class

CommentsDAO

Package: content Author: Kevin MASSY <kevin.massy@phpboost.com> Located at content/comments/CommentsDAO.class.php
Methods summary
public static
# __static( )
public static
# delete_comments_by_topic( mixed $id_topic )
public static
# delete_comments_topic_module( mixed $module_id, mixed $id_in_module )
public static
# delete_comments_module( mixed $id_topics )
public static
# delete_comment( mixed $comment_id )
public static
# get_user_id_posted_comment( mixed $comment_id )
public static
# get_last_comment_added( mixed $user_id )
public static
# get_number_comments( mixed $module_id, mixed $id_in_module, mixed $topic_identifier )
public static
# comment_exists( mixed $comment_id )
public static
# add_comment( mixed $id_topic, mixed $message, mixed $user_id, mixed $pseudo, mixed $user_ip )
public static
# edit_comment( mixed $comment_id, mixed $message )