RT 4.4.1 Documentation

RT::ObjectScrip

Go to latest version →

NAME

RT::ObjectScrip - record representing addition of a scrip to a queue

DESCRIPTION

This record is created if you want to add a scrip to a queue or globally.

Inherits methods from RT::Record::AddAndSort.

For most operations it's better to use methods in RT::Scrip.

METHODS

Table

Returns table name for records of this class.

ObjectCollectionClass

Returns class name of collection of records scrips can be added to. Now it's only RT::Queue, so 'RT::Queues' is returned.

ScripObj

Returns the Scrip Object which has the id returned by Scrip

Neighbors

Stage splits scrips into neighborhoods. See "Neighbors and Siblings" in RT::Record::AddAndSort.

id

Returns the current value of id. (In the database, id is stored as int(11).)

Scrip

Returns the current value of Scrip. (In the database, Scrip is stored as int(11).)

FriendlyStage

Returns a localized human-readable version of the stage.

SetScrip VALUE

Set Scrip to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Scrip will be stored as a int(11).)

Stage

Returns the current value of Stage. (In the database, Stage is stored as varchar(32).)

SetStage VALUE

Set Stage to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Stage will be stored as a varchar(32).)

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

SortOrder

Returns the current value of SortOrder. (In the database, SortOrder is stored as int(11).)

SetSortOrder VALUE

Set SortOrder to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, SortOrder will be stored as a int(11).)

Creator

Returns the current value of Creator. (In the database, Creator is stored as int(11).)

Created

Returns the current value of Created. (In the database, Created is stored as datetime.)

LastUpdatedBy

Returns the current value of LastUpdatedBy. (In the database, LastUpdatedBy is stored as int(11).)

LastUpdated

Returns the current value of LastUpdated. (In the database, LastUpdated is stored as datetime.)

← Back to index