Class Category

Description

A Category within BIGACE.

Categories are used to be linked to Items to build any kind of meta-structure.

  • version: $Id: Category.php,v 1.7 2007/01/08 22:51:42 kpapst Exp $
  • copyright: Copyright (C) 2002-2006 Kevin Papst
  • author: Kevin Papst
  • license: GNU Public License


			
Direct descendents
Class Description
DBCategory This represents a Category that is initialized with an value array.
Method Summary
Methods
Constructor Category (line 50)

This intializes the Object with the given Category ID

Category Category (int $id)
  • int $id: the Category ID
countChilds (line 132)

Counts the amount of children for this Category.

  • return: the amount of children
int countChilds ()
getChildEnumeration (line 124)

Alias for getChilds().

  • return: the children of this Category
  • deprecated: use getChilds() instead
CategoryTreeWalker getChildEnumeration ()
getChilds (line 115)

Get the childs of this Category.

  • return: the children of this Category
CategoryTreeWalker getChilds ()
getDescription (line 85)
void getDescription ()
getID (line 72)

Gets the ID of the current Category

  • return: the ID
int getID ()
getName (line 80)

Returns the Name of the Category.

  • return: the Category Name
String getName ()
getParent (line 97)

Returns the Parent Category or null if this is the TOP LEVEL Category.

  • return: the Parent Category or null
Category getParent ()
getParentID (line 89)
void getParentID ()
hasChilds (line 146)

Returns if this Category has Children.

  • return: whether this Category has Children or not
boolean hasChilds ()

Documentation generated by phpDocumentor 1.3.1