NewsFeaturesDownloadsDevelopmentSupportAbout Us

AdminDeleteGalleryItemsAction Class Reference
[Action]

Inherits AdminAction.

List of all members.


Public Member Functions

 AdminDeleteGalleryItemsAction ($actionInfo, $request)
 perform ()
 _deleteResources ()
 _deleteAlbums ()

Public Attributes

 $_resourceIds
 $_albumIds
 $_successMessage
 $_errorMessage
 $_totalOk

Detailed Description

Deletes resources and albums from the blog

Definition at line 17 of file admindeletegalleryitemsaction.class.php.


Member Function Documentation

AdminDeleteGalleryItemsAction.AdminDeleteGalleryItemsAction ( 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 31 of file admindeletegalleryitemsaction.class.php.

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

AdminDeleteGalleryItemsAction.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 47 of file admindeletegalleryitemsaction.class.php.

References _deleteAlbums(), _deleteResources(), CacheControl.resetBlogCache(), and AdminAction.setCommonData().

AdminDeleteGalleryItemsAction._deleteResources (  ) 

deletes resources from the list

Definition at line 79 of file admindeletegalleryitemsaction.class.php.

References AdminAction.notifyEvent().

Referenced by perform().

AdminDeleteGalleryItemsAction._deleteAlbums (  ) 

deletes resources from the list

Definition at line 117 of file admindeletegalleryitemsaction.class.php.

References AdminAction.notifyEvent().

Referenced by perform().


Member Data Documentation

AdminDeleteGalleryItemsAction.$_resourceIds

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

AdminDeleteGalleryItemsAction.$_albumIds

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

AdminDeleteGalleryItemsAction.$_successMessage

Definition at line 23 of file admindeletegalleryitemsaction.class.php.

AdminDeleteGalleryItemsAction.$_errorMessage

Definition at line 24 of file admindeletegalleryitemsaction.class.php.

AdminDeleteGalleryItemsAction.$_totalOk

Definition at line 25 of file admindeletegalleryitemsaction.class.php.