Whitebeam Template Reference Documentation

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Template Reference Documentation

Catalogue Template

category.create()

Creates a new category node.

See Also

rb.catalogue.category.link()    rb.catalogue.category.remove()    rb.catalogue.category.modify()   

Syntax

number = rb.catalogue.category.create(newCategory)

Parameters

The 'category.create' method takes 1 parameter:

Name Type/Value Range/Length Description
newCategorystruct category.categoryInfoTypesee definition

Results

The 'category.create' method returns number:

Type/Value Range/Length Description
number nodeID, -1 Identifier of created category node.

Remarks

By default, a new category node is linked to the root node if a parent node is not specified and its contentsMkr is empty (since it has no sub categories or sub items).

Whitebeam release 1.3.36
(loadtime : 67ms)