You are here

createSubCategory

createSubCategory(name) creates a new subcategory from the current category node.

Parameters

name
Name of the category to create.

Returns

Returns a CategoryNode representing the new sub-category created.