NewsFeaturesDownloadsDevelopmentSupportAbout Us

AdminChangeUserStatusAction Class Reference
[Action]

Inherits AdminAction.

List of all members.


Public Member Functions

 AdminChangeUserStatusAction ($actionInfo, $request)
 _changeUserStatus ()
 perform ()

Public Attributes

 $_userIds
 $_userStatus

Detailed Description

Implements bulk changes of users

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


Member Function Documentation

AdminChangeUserStatusAction.AdminChangeUserStatusAction ( 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 26 of file adminchangeuserstatusaction.class.php.

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

AdminChangeUserStatusAction._changeUserStatus (  ) 

Carries out the specified action

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

References $result, $user, $users, AdminAction.notifyEvent(), and AdminAction.setCommonData().

Referenced by perform().

AdminChangeUserStatusAction.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 90 of file adminchangeuserstatusaction.class.php.

References _changeUserStatus().


Member Data Documentation

AdminChangeUserStatusAction.$_userIds

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

AdminChangeUserStatusAction.$_userStatus

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