Class: CategoryAdminService

Source Location: /CORE/system/classes/category/CategoryAdminService.php

Class CategoryAdminService

Class Overview

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

Located in /CORE/system/classes/category/CategoryAdminService.php [line 39]



		
				Author(s):
		
  • Kevin Papst
Information Tags:
Version:  $Id: CategoryAdminService.php,v 1.9 2008/02/12 18:02:23 kpapst Exp $
Copyright:  Copyright (C) Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Method Summary
Object   changeCategory()   Change an existing Category.
void   createCategory()   Provide an array with these values: array('name' => 'foo', 'description' => 'bar', 'parentid' => _BIGACE_TOPLEVEL).
void   createCategoryLink()  
void   deleteAllLinksForCategory()   Deletes all links for a Category.
void   deleteCategory()   Deletes an Category from BIGACE
void   deleteCategoryLink()  

[ Top ]
Methods
changeCategory  [line 51]

  Object changeCategory( int $id, String $parentid, String $position, String $name, $description  )

Change an existing Category.

Parameters:
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: 

API Tags:
Return:  the DB result


[ Top ]
createCategory  [line 96]

  void createCategory( $data  )

Provide an array with these values: array('name' => 'foo', 'description' => 'bar', 'parentid' => _BIGACE_TOPLEVEL).

Parameters:
   $data: 


[ Top ]
createCategoryLink  [line 116]

  void createCategoryLink( $itemtype, $itemid, $categoryid  )

Parameters:
   $itemtype: 
   $itemid: 
   $categoryid: 


[ Top ]
deleteAllLinksForCategory  [line 84]

  void deleteAllLinksForCategory( int $id  )

Deletes all links for a Category.

Parameters:
int   $id:  the Category ID


[ Top ]
deleteCategory  [line 69]

  void deleteCategory( int $id  )

Deletes an Category from BIGACE

Parameters:
int   $id:  the Category ID


[ Top ]
deleteCategoryLink  [line 126]

  void deleteCategoryLink( $itemtype, $itemid, $categoryid  )

Parameters:
   $itemtype: 
   $itemid: 
   $categoryid: 


[ Top ]