Class NSKbCategory
Syntax
Constructors
NSKbCategory()
Initializes a new instance of the NSKbCategory class.
Declaration
Methods
GetDescription()
Declaration
Returns
Type |
Description |
String |
The description of this category.
|
Examples
NSKbCategory thing;
String description = thing.GetDescription();
GetFullname()
Declaration
Returns
Type |
Description |
String |
The full name of this category, i.e. Foo/bar/test.
|
Examples
NSKbCategory thing;
String fullname = thing.GetFullname();
GetKbCategoryId()
Declaration
Integer GetKbCategoryId()
Returns
Type |
Description |
Integer |
The primary key (auto-incremented).
|
Examples
NSKbCategory thing;
Integer kbCategoryId = thing.GetKbCategoryId();
GetName()
Declaration
Returns
Type |
Description |
String |
The name of this category.
|
Examples
NSKbCategory thing;
String name = thing.GetName();
GetParentId()
Declaration
Returns
Type |
Description |
Integer |
This entry contains a reference to the parent category. NULL or -1 if this is a top-level category.
|
Examples
NSKbCategory thing;
Integer parentId = thing.GetParentId();
GetSortOrder()
Declaration
Returns
Type |
Description |
|
A strictly ascending number used for sorting categories when they are listed.
|
Examples
NSKbCategory thing;
Integer sortOrder = thing.GetSortOrder();
SetDescription(String)
Declaration
Void SetDescription(String description)
Parameters
Type |
Name |
Description |
String |
description |
The description of this category.
|
Returns
Examples
NSKbCategory thing;
String description;
thing.SetDescription(description);
SetFullname(String)
Declaration
Void SetFullname(String fullname)
Parameters
Type |
Name |
Description |
String |
fullname |
The full name of this category, i.e. Foo/bar/test.
|
Returns
Examples
NSKbCategory thing;
String fullname;
thing.SetFullname(fullname);
SetKbCategoryId(Integer)
Declaration
Void SetKbCategoryId(Integer kbCategoryId)
Parameters
Type |
Name |
Description |
Integer |
kbCategoryId |
The primary key (auto-incremented).
|
Returns
Examples
NSKbCategory thing;
Integer kbCategoryId;
thing.SetKbCategoryId(kbCategoryId);
SetName(String)
Declaration
Void SetName(String name)
Parameters
Type |
Name |
Description |
String |
name |
The name of this category.
|
Returns
Examples
NSKbCategory thing;
String name;
thing.SetName(name);
SetParentId(Integer)
Declaration
Void SetParentId(Integer parentId)
Parameters
Type |
Name |
Description |
Integer |
parentId |
This entry contains a reference to the parent category. NULL or -1 if this is a top-level category.
|
Returns
Examples
NSKbCategory thing;
Integer parentId;
thing.SetParentId(parentId);
SetSortOrder(Integer)
Declaration
Void SetSortOrder(Integer sortOrder)
Parameters
Type |
Name |
Description |
Integer |
sortOrder |
A strictly ascending number used for sorting categories when they are listed.
|
Returns
Examples
NSKbCategory thing;
Integer sortOrder;
thing.SetSortOrder(sortOrder);