Dotclear 2.24
|
Static Public Member Functions | |
static | adminCommentsActionsPage (dcCommentsActions $ap) |
static | doChangeCommentStatus (dcCommentsActions $ap) |
static | doDeleteComment (dcCommentsActions $ap) |
static | doBlocklistIP (dcCommentsActions $ap) |
|
static |
Set comments actions
dcCommentsActions | $ap |
References dcActions\addAction(), dcCore\app(), dcAuth\PERMISSION_CONTENT_ADMIN, dcAuth\PERMISSION_DELETE, and dcAuth\PERMISSION_PUBLISH.
Referenced by dcCommentsActions\loadDefaults().
|
static |
Does a change comment status.
dcCommentsActions | $ap |
Exception | If no comment selected |
References dcPage\addSuccessNotice(), dcCore\app(), dcBlog\COMMENT_JUNK, dcBlog\COMMENT_PENDING, dcBlog\COMMENT_PUBLISHED, dcBlog\COMMENT_UNPUBLISHED, dcActions\getAction(), dcActions\getIDs(), and dcActions\redirect().
|
static |
Does a delete comment.
dcCommentsActions | $ap |
Exception | If no comment selected |
References dcPage\addSuccessNotice(), dcCore\app(), dcActions\getIDs(), and dcActions\redirect().
|
static |
Add comments IP in an antispam blacklist.
dcCommentsActions | $ap |
Exception | If no comment selected |
References dcPage\addSuccessNotice(), dcCore\app(), dcActions\getAction(), dcActions\getIDs(), dcActions\getRS(), and dcActions\redirect().