add() add(string $category) : mixed Add a new category. Parameters string $category The name of the category to add. Returns mixed — False on failure, or the new category's name.
remove() remove(string $category) : boolean Delete a category. Parameters string $category The category to remove. Returns boolean — True on success, false on failure.
colors() colors() : array Returns the color for each of the user's categories. Returns array — A list of colors, key is the category name, value is the HTML color code.
fgColors() fgColors() : array Returns the foreground color for each of the user's categories. Returns array — A list of colors, key is the category name, value is the HTML color code.