Summary
- File
- Package hierarchy Content\Comments
- Class hierarchy \CommentsManager
This class manage comments with different functions
This class manage comments with different functions
__static()
| None found |
add_comment( $module_id, $id_in_module, $topic_identifier, $topic_path, $message, $pseudo = '')
| $module_id | ||
| $id_in_module | ||
| $topic_identifier | ||
| $topic_path | ||
| $message | ||
| $pseudo |
| None found |
edit_comment( $comment_id, $message)
| $comment_id | ||
| $message |
| None found |
delete_comment( $comment_id)
| $comment_id |
| None found |
comment_exists( $comment_id)
| $comment_id |
| None found |
delete_comments_module( $module_id)
| $module_id |
| None found |
delete_comments_topic_module( $module_id, $id_in_module)
| $module_id | ||
| $id_in_module |
| None found |
get_comments_number( $module_id, $id_in_module = '', $topic_identifier = \CommentsTopic::DEFAULT_TOPIC_IDENTIFIER)
| $module_id | ||
| $id_in_module | ||
| $topic_identifier |
| None found |
get_user_id_posted_comment( $comment_id)
| $comment_id |
| None found |
get_last_comment_added( $user_id)
| $user_id |
| None found |
comment_topic_locked( $module_id, $id_in_module, $topic_identifier)
| $module_id | ||
| $id_in_module | ||
| $topic_identifier |
| None found |
lock_topic( $module_id, $id_in_module, $topic_identifier)
| $module_id | ||
| $id_in_module | ||
| $topic_identifier |
| None found |
unlock_topic( $module_id, $id_in_module, $topic_identifier)
| $module_id | ||
| $id_in_module | ||
| $topic_identifier |
| None found |
regenerate_cache()
| None found |