XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
iCommentsController Interface Reference

Public Member Functions

 get_item ($params, $com)
 
 get_item_url ($params, $com)
 
 get_main_link ()
 
 increment_comments_number ($comment)
 
 reduce_comments_number ($comment)
 

Detailed Description

Definition at line 11 of file icommentscontroller.php.

Member Function Documentation

iCommentsController::get_item (   $params,
  $com 
)

Get the element related to a specific comment

Parameters
stringParameters to identify the comment
RMCommentComment object
boolReturn item with url or without
Returns
string
iCommentsController::get_item_url (   $params,
  $com 
)

Get the element url

Parameters
stringParameters to identify the comment
RMCommentComment object
Returns
string
iCommentsController::get_main_link ( )

Return the link to module or element owner of the comment

Returns
string
iCommentsController::increment_comments_number (   $comment)

Add 1 to comments internal counter of the module

Parameters
RMComment
iCommentsController::reduce_comments_number (   $comment)

Reduce in 1 the comments internal counter of the module

Parameters
RMComment

The documentation for this interface was generated from the following file: