Class

CommentsService

Package: content Author: Kevin MASSY <kevin.massy@phpboost.com> Desc: This class allows you to use a comments system Located at content/comments/CommentsService.class.php
Methods summary
public static
# __static( )
public static Template
# display( CommentsTopic $topic )
public static string
# get_number_and_lang_comments( string $module_id, integer $id_in_module, string $topic_identifier = CommentsTopic::DEFAULT_TOPIC_IDENTIFIER )
public static string
# get_lang_comments( string $module_id, integer $id_in_module, string $topic_identifier = CommentsTopic::DEFAULT_TOPIC_IDENTIFIER )
public static
# delete_comments_module( string $module_id )
public static
# delete_comments_topic_module( string $module_id, integer $id_in_module )
public static string
# get_number_comments( string $module_id, integer $id_in_module, string $topic_identifier = CommentsTopic::DEFAULT_TOPIC_IDENTIFIER )
public static object
# display_comments( string $module_id, integer $id_in_module, string $topic_identifier, mixed $number_comments_display, mixed $authorizations, mixed $display_from_number_comments = false )