Additional Inherited Members | |
Public Attributes inherited from ModuleObject | |
$mid = NULL | |
string to represent run-time instance of Module (XE Module) More... | |
$module = NULL | |
Class name of Xe Module that is identified by mid. More... | |
$module_srl = NULL | |
integer value to represent a run-time instance of Module (XE Module) More... | |
$module_info = NULL | |
an object containing the module information More... | |
$origin_module_info = NULL | |
$xml_info = NULL | |
an object containing the module description extracted from XML file More... | |
$module_path = NULL | |
a path to directory where module source code resides More... | |
$act = NULL | |
a string value to contain the action name More... | |
$template_path = NULL | |
a path of directory where template files reside More... | |
$template_file = NULL | |
name of template file More... | |
$layout_path = '' | |
a path of directory where layout files reside More... | |
$layout_file = '' | |
name of layout file More... | |
$edited_layout_file = '' | |
name of temporary layout files that is modified in an admin mode More... | |
$stop_proc = FALSE | |
a flag to indicating whether to stop the execution of code. More... | |
$module_config = NULL | |
$ajaxRequestMethod = array('XMLRPC', 'JSON') | |
$gzhandler_enable = TRUE | |
Public Attributes inherited from BaseObject | |
$error = 0 | |
$message = 'success' | |
$variables = array() | |
$httpStatusCode = NULL | |
Definition at line 12 of file comment.controller.php.
commentController::_deleteDeclaredComments | ( | $commentSrls | ) |
delete declared comment, log
array | string | $commentSrls | : srls string (ex: 1, 2,56, 88) |
Definition at line 1010 of file comment.controller.php.
commentController::_deleteVotedComments | ( | $commentSrls | ) |
delete voted comment log
array | string | $commentSrls | : srls string (ex: 1, 2,56, 88) |
Definition at line 1021 of file comment.controller.php.
commentController::addCommentPopupMenu | ( | $url, | |
$str, | |||
$icon = '' , |
|||
$target = 'self' |
|||
) |
Method to add a pop-up menu when clicking for displaying child comments
string | $url | |
string | $str | |
strgin | $icon | |
strgin | $target |
Definition at line 1288 of file comment.controller.php.
commentController::addGrant | ( | $comment_srl | ) |
Authorization of the comments available only in the current connection of the session value
Definition at line 156 of file comment.controller.php.
commentController::declaredComment | ( | $comment_srl | ) |
Report a blamed comment
$comment_srl |
Definition at line 1166 of file comment.controller.php.
commentController::deleteComment | ( | $comment_srl, | |
$is_admin = FALSE , |
|||
$isMoveToTrash = FALSE |
|||
) |
Delete comment
int | $comment_srl | |
bool | $is_admin | |
bool | $isMoveToTrash |
Definition at line 787 of file comment.controller.php.
commentController::deleteCommentLog | ( | $args | ) |
Remove all comment relation log
Definition at line 921 of file comment.controller.php.
commentController::deleteComments | ( | $document_srl, | |
$obj = NULL |
|||
) |
Remove all comments of the article
int | $document_srl |
Definition at line 933 of file comment.controller.php.
commentController::init | ( | ) |
commentController::insertComment | ( | $obj, | |
$manual_inserted = FALSE |
|||
) |
Enter comments
object | $obj | |
bool | $manual_inserted |
Definition at line 191 of file comment.controller.php.
commentController::isModuleUsingPublishValidation | ( | $module_srl = NULL | ) |
Check if module is using comment validation system
int | $document_srl | |
int | $module_srl |
Definition at line 167 of file comment.controller.php.
commentController::procCommentDeclare | ( | ) |
Action to be called when a comment posting is reported
Definition at line 104 of file comment.controller.php.
commentController::procCommentGetList | ( | ) |
commentController::procCommentInsertModuleConfig | ( | ) |
Save the comment extension form for each module
Definition at line 1310 of file comment.controller.php.
commentController::procCommentVoteDown | ( | ) |
Action to handle recommendation votes on comments (Down)
Definition at line 66 of file comment.controller.php.
commentController::procCommentVoteUp | ( | ) |
Action to handle recommendation votes on comments (Up)
Definition at line 28 of file comment.controller.php.
commentController::sendEmailToAdminAfterInsertComment | ( | $obj | ) |
Send email to module's admins after a new comment was interted successfully if Comments Approval System is used
object | $obj |
Definition at line 503 of file comment.controller.php.
commentController::setCommentModuleConfig | ( | $srl, | |
$comment_config | |||
) |
Comment module config setting
int | $srl | |
object | $comment_config |
Definition at line 1371 of file comment.controller.php.
commentController::triggerCopyModule | ( | & | $obj | ) |
Definition at line 1421 of file comment.controller.php.
commentController::triggerDeleteDocumentComments | ( | & | $obj | ) |
Trigger to delete its comments together with document deleted
Definition at line 124 of file comment.controller.php.
commentController::triggerDeleteModuleComments | ( | & | $obj | ) |
Trigger to delete corresponding comments when deleting a module
Definition at line 139 of file comment.controller.php.
commentController::updateComment | ( | $obj, | |
$is_admin = FALSE , |
|||
$manual_updated = FALSE |
|||
) |
Fix the comment
object | $obj | |
bool | $is_admin | |
bool | $manual_updated |
Definition at line 647 of file comment.controller.php.
commentController::updateVotedCount | ( | $comment_srl, | |
$point = 1 |
|||
) |
Increase vote-up counts of the comment
int | $comment_srl | |
int | $point |
Definition at line 1032 of file comment.controller.php.