addCategoryCacheEntry

addCategoryCacheEntry ( string name , string id , string parentId , string path ) : void

Add category entry in cache to avoid to call updateCategories (can be long).

Example


addCategoryCacheEntry("categoryChild", "2", "1", "categoryParent > categoryChild")

Parameters

name

The name of the category

id

The id of the category

parentId

The id of the parent category

path

The path of the category