Dotclear 2.24
Loading...
Searching...
No Matches
dcDefaultCommentActions Class Reference

Static Public Member Functions

static adminCommentsActionsPage (dcCommentsActions $ap)
 
static doChangeCommentStatus (dcCommentsActions $ap)
 
static doDeleteComment (dcCommentsActions $ap)
 
static doBlocklistIP (dcCommentsActions $ap)
 

Member Function Documentation

◆ adminCommentsActionsPage()

static adminCommentsActionsPage ( dcCommentsActions  $ap)
static

◆ doChangeCommentStatus()

static doChangeCommentStatus ( dcCommentsActions  $ap)
static

◆ doDeleteComment()

static doDeleteComment ( dcCommentsActions  $ap)
static

Does a delete comment.

Parameters
dcCommentsActions$ap
Exceptions
ExceptionIf no comment selected

References dcPage\addSuccessNotice(), dcCore\app(), dcActions\getIDs(), and dcActions\redirect().

◆ doBlocklistIP()

static doBlocklistIP ( dcCommentsActions  $ap)
static

Add comments IP in an antispam blacklist.

Parameters
dcCommentsActions$ap
Exceptions
ExceptionIf no comment selected

References dcPage\addSuccessNotice(), dcCore\app(), dcActions\getAction(), dcActions\getIDs(), dcActions\getRS(), and dcActions\redirect().


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