Class CategoryAdminService

Description

The CategoryAdminService provides all kind of writing services for Categorys inside BIGACE.

  • version: $Id: CategoryAdminService.php,v 1.6 2006/11/26 22:04:17 kpapst Exp $
  • copyright: Copyright (C) 2002-2006 Kevin Papst
  • author: Kevin Papst
  • license: GNU Public License


			
Method Summary
Object changeCategory (int $id, String $parentid, String $position, String $name,  $description)
void createCategory ( $data)
void createCategoryLink ( $itemtype,  $itemid,  $categoryid)
void deleteAllLinksForCategory (int $id)
void deleteCategory (int $id)
void deleteCategoryLink ( $itemtype,  $itemid,  $categoryid)
Methods
changeCategory (line 48)

Change an existing Category.

  • return: the DB result
Object changeCategory (int $id, String $parentid, String $position, String $name,  $description)
  • int $id: the Category ID that represents the Category to change
  • String $parentid: the new name
  • String $position: the new url
  • String $name: the new mimetype
  • $description
createCategory (line 89)
void createCategory ( $data)
  • $data
createCategoryLink (line 113)
void createCategoryLink ( $itemtype,  $itemid,  $categoryid)
  • $itemtype
  • $itemid
  • $categoryid
deleteAllLinksForCategory (line 81)

Deletes all links for a Category.

void deleteAllLinksForCategory (int $id)
  • int $id: the Category ID
deleteCategory (line 66)

Deletes an Category from BIGACE

void deleteCategory (int $id)
  • int $id: the Category ID
deleteCategoryLink (line 123)
void deleteCategoryLink ( $itemtype,  $itemid,  $categoryid)
  • $itemtype
  • $itemid
  • $categoryid

Documentation generated by phpDocumentor 1.3.1