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.unlinkItem()

Removes an explicit link of an item to a category node.

See Also

rb.catalogue.category.linkItem()    rb.catalogue.category.remove()   

Syntax

number = rb.catalogue.category.unlinkItem(childItemID, parentNodeID)

Parameters

The 'category.unlinkItem' method takes 2 parameters:

Name Type/Value Range/Length Description
childItemIDnumberValid itemID Required. Identifier of an item currently linked to a category.
parentNodeIDnumberValid nodeID Required. Identifier of the category to which the item is currently linked.

Results

The 'category.unlinkItem' method returns number:

Type/Value Range/Length Description
number itemID, -1 Identifier of the item being unlinked.

Remarks

An implicit link to the virtual root category node will be formed when the last explicit link to a category node. is deleted and the item becomes an 'orphan' (default when created).

Whitebeam release 1.3.36
(loadtime : 72ms)