Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagelua
function getCategory( nodeid )

Gets Retrieves the category information for of the specified data base database node.

Parameters

nodeid   (string (or databasenode))   
Data node identifier path (or databasenode object)

Return values

(tablestring)
Category information for specified node, including the following fields (name, mergeid, base, decal). The name field is the name of the category. The merge ID field is a value that can be specified for each module to allow multiple modules to be listed in a single category. The base field is a number defining the index of the background tab to use when displaying the category. The decal field is a number defining the index of the decal to use when displaying the category. The combination of all four entries defines a unique categoryReturns the category string of this database node, or empty string if the no category specified.

getChild

Code Block
languagelua
function getChild( sourcenode, name )

...

(string)
Returns the name of the module the node was loaded from, or nil if or empty string if the node was not loaded from a module

...