NewsFeaturesDownloadsDevelopmentSupportAbout Us

AdminDeleteReferrerAction Class Reference
[Action]

Inherits AdminAction.

List of all members.


Public Member Functions

 AdminDeleteReferrerAction ($actionInfo, $request)
 perform ()
 _deleteReferrers ()

Public Attributes

 $_articleId
 $_referrerIds
 $_mode
 $_referrerId

Detailed Description

Allows to remove referrers

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


Member Function Documentation

AdminDeleteReferrerAction.AdminDeleteReferrerAction ( 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 28 of file admindeletereferreraction.class.php.

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

AdminDeleteReferrerAction.perform (  ) 

Receives the HTTP request from the client as parameter, so that we can extract the parameters and perform our business logic.

The result of this will be a view, which will normally be the output of the processing we just did or for example an error view showing an error message. Once we have completed processing, the controller will call the getView() method to get the resulting view and send it back to the customer.

Returns:
Returns nothing

Reimplemented from Action.

Definition at line 45 of file admindeletereferreraction.class.php.

References _deleteReferrers(), and _mode.

AdminDeleteReferrerAction._deleteReferrers (  ) 

Carries out the specified action

Definition at line 64 of file admindeletereferreraction.class.php.

References AdminAction.notifyEvent(), CacheControl.resetBlogCache(), and AdminAction.setCommonData().

Referenced by perform().


Member Data Documentation

AdminDeleteReferrerAction.$_articleId

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

AdminDeleteReferrerAction.$_referrerIds

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

AdminDeleteReferrerAction.$_mode

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

AdminDeleteReferrerAction.$_referrerId

Definition at line 22 of file admindeletereferreraction.class.php.