Class: CategoryTree

CategoryTree

new CategoryTree(categoryManager) → {CategoryTree}

Parameters:
Name Type Description
categoryManager CategoryManager
Source:
Returns:
Type
CategoryTree

Methods

count()

Count active root all categories
Source:

getCategories(activeOnly) → {Array.<Category>}

Parameters:
Name Type Description
activeOnly boolean if true, then only active categories will returned, otherwise all categories
Source:
Returns:
Type
Array.<Category>