NewsFeaturesDownloadsDevelopmentSupportAbout Us

AdminDeleteBlogCategoryAction Class Reference
[Action]

Inherits SiteAdminAction.

List of all members.


Public Member Functions

 AdminDeleteBlogCategoryAction ($actionInfo, $request)
 perform ()

Public Attributes

 $_categoryId
 $_categoryIds

Private Member Functions

 _deleteBlogCategories ()

Detailed Description

Deletes a blog category from the database

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


Member Function Documentation

AdminDeleteBlogCategoryAction._deleteBlogCategories (  )  [private]

removes categories from the database

Definition at line 46 of file admindeleteblogcategoryaction.class.php.

References $categories, $numBlogs, AdminAction.notifyEvent(), CacheControl.resetBlogCache(), and AdminAction.setCommonData().

Referenced by perform().

AdminDeleteBlogCategoryAction.AdminDeleteBlogCategoryAction ( 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 admindeleteblogcategoryaction.class.php.

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

AdminDeleteBlogCategoryAction.perform (  ) 

Carries out the specified action

Reimplemented from Action.

Definition at line 107 of file admindeleteblogcategoryaction.class.php.

References _deleteBlogCategories(), and _mode.


Member Data Documentation

AdminDeleteBlogCategoryAction.$_categoryId

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

AdminDeleteBlogCategoryAction.$_categoryIds

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