NewsFeaturesDownloadsDevelopmentSupportAbout Us

AdminDeleteCommentAction Class Reference
[Action]

Inherits AdminAction.

List of all members.


Public Member Functions

 AdminDeleteCommentAction ($actionInfo, $request)
 perform ()

Public Attributes

 $_articleId
 $_commentIds
 $_mode

Private Member Functions

 _deleteComments ()

Detailed Description

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

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


Member Function Documentation

AdminDeleteCommentAction.AdminDeleteCommentAction ( 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 admindeletecommentaction.class.php.

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

AdminDeleteCommentAction.perform (  ) 

sets up the parameters and calls the method below

Reimplemented from Action.

Definition at line 48 of file admindeletecommentaction.class.php.

References _deleteComments(), and _mode.

AdminDeleteCommentAction._deleteComments (  )  [private]


Member Data Documentation

AdminDeleteCommentAction.$_articleId

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

AdminDeleteCommentAction.$_commentIds

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

AdminDeleteCommentAction.$_mode

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