NewsFeaturesDownloadsDevelopmentSupportAbout Us

AdminChangeCommentsStatusAction Class Reference
[Action]

Inherits AdminAction.

List of all members.


Public Member Functions

 AdminChangeCommentsStatusAction ($actionInfo, $request)
 perform ()
 _markCommentAsSpam ($comment)

Public Attributes

 $_articleId
 $_commentIds
 $_commentStatus

Private Member Functions

 _changeComments ()
 _markCommentAsNonSpam ($comment)

Detailed Description

Action that shows a list of all the comments for a given post

Definition at line 16 of file adminchangecommentsstatusaction.class.php.


Member Function Documentation

AdminChangeCommentsStatusAction._changeComments (  )  [private]

AdminChangeCommentsStatusAction._markCommentAsNonSpam ( comment  )  [private]

Definition at line 184 of file adminchangecommentsstatusaction.class.php.

References AdminAction.notifyEvent().

Referenced by _changeComments().

AdminChangeCommentsStatusAction._markCommentAsSpam ( comment  ) 

Definition at line 152 of file adminchangecommentsstatusaction.class.php.

References AdminAction.notifyEvent().

Referenced by _changeComments().

AdminChangeCommentsStatusAction.AdminChangeCommentsStatusAction ( actionInfo,
request 
)

Constructor. If nothing else, it also has to call the constructor of the parent class, BlogAction with the same parameters

Definition at line 27 of file adminchangecommentsstatusaction.class.php.

References $request, AdminAction.AdminAction(), Action.registerFieldValidator(), and Action.setValidationErrorView().

AdminChangeCommentsStatusAction.perform (  ) 

sets up the parameters and calls the method below

Reimplemented from Action.

Definition at line 41 of file adminchangecommentsstatusaction.class.php.

References _changeComments().


Member Data Documentation

AdminChangeCommentsStatusAction.$_articleId

Definition at line 19 of file adminchangecommentsstatusaction.class.php.

AdminChangeCommentsStatusAction.$_commentIds

Definition at line 20 of file adminchangecommentsstatusaction.class.php.

AdminChangeCommentsStatusAction.$_commentStatus

Definition at line 21 of file adminchangecommentsstatusaction.class.php.