Class: CategoryList

CategoryList

A Backbone collection class for Workspace categories.

new CategoryList()

Methods

addCategories(categoryList)

Adds all categories to the current collection.
Parameters:
Name Type Description
categoryList List of categories

fetchChildCategories()

Fetches child categories for each category model in the collection.

fetchRootCategories()

Fetches root categories into the Collection and child categories for each root category. It also adds All Startpoints and Favorites categories into the collection.