RT 4.4.4 Documentation
RT::Topic
Create PARAMHASH
Create takes a hash of values and creates a row in the database:
int(11) 'Parent'.
varchar(255) 'Name'.
varchar(255) 'Description'.
varchar(64) 'ObjectType'.
int(11) 'ObjectId'.
Delete
Deletes this topic, reparenting all sub-topics to this one's parent.
DeleteAll
Deletes this topic, and all of its descendants.
ParentObj
Returns the parent Topic of this one.
Children
Returns a Topics object containing this topic's children, sorted by Topic.Name.
_Set
Intercept attempts to modify the Topic so we can apply ACLs
ACLEquivalenceObjects
Rights on the topic are inherited from the object it is a topic on.
id
Returns the current value of id. (In the database, id is stored as int(11).)
Parent
Returns the current value of Parent. (In the database, Parent is stored as int(11).)
SetParent VALUE
Set Parent to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Parent will be stored as a int(11).)
Name
Returns the current value of Name. (In the database, Name is stored as varchar(255).)
SetName VALUE
Set Name to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Name will be stored as a varchar(255).)
Description
Returns the current value of Description. (In the database, Description is stored as varchar(255).)
SetDescription VALUE
Set Description to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Description will be stored as a varchar(255).)
ObjectType
Returns the current value of ObjectType. (In the database, ObjectType is stored as varchar(64).)
SetObjectType VALUE
Set ObjectType to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, ObjectType will be stored as a varchar(64).)
ObjectId
Returns the current value of ObjectId. (In the database, ObjectId is stored as int(11).)
SetObjectId VALUE
Set ObjectId to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, ObjectId will be stored as a int(11).)
← Back to index