Loads a custom field value by Ticket, Content and which CustomField it's tied to
Returns the CustomField Object which has the id returned by CustomField
Return this custom field's content. If there's no "regular" content, try "LargeContent"
Returns the object this value applies to
Disable this value. Used to remove "current" values from records while leaving them in the history.
Takes a URL containing placeholders and returns the URL as filled in for this ObjectCustomFieldValue. The values for the placeholders will be URI-escaped.
Available placeholders:
The id of the object in question.
The value of this custom field for the object in question.
The value of the config option.
Returns a filled in URL template for this ObjectCustomFieldValue, suitable for constructing a hyperlink in RT's webui. Returns undef if this custom field doesn't have a LinkValueTo
Returns a filled in URL template for this ObjectCustomFieldValue, suitable for constructing a hyperlink in RT's webui. Returns undef if this custom field doesn't have a IncludeContentForValue
Get the OCFV cache key for this object
Returns the current value of id. (In the database, id is stored as int(11).)
Returns the current value of CustomField. (In the database, CustomField is stored as int(11).)
Set CustomField to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, CustomField will be stored as a int(11).)
Returns the current value of ObjectType. (In the database, ObjectType is stored as varchar(255).)
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(255).)
Returns the current value of ObjectId. (In the database, ObjectId is stored as int(19).)
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(19).)
Returns the current value of SortOrder. (In the database, SortOrder is stored as int(11).)
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).)
Returns the current value of Content. (In the database, Content is stored as varchar(255).)
Set Content to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Content will be stored as a varchar(255).)
Returns the current value of LargeContent. (In the database, LargeContent is stored as longblob.)
Set LargeContent to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, LargeContent will be stored as a longblob.)
Returns the current value of ContentType. (In the database, ContentType is stored as varchar(80).)
Set ContentType to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, ContentType will be stored as a varchar(80).)
Returns the current value of ContentEncoding. (In the database, ContentEncoding is stored as varchar(80).)
Set ContentEncoding to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, ContentEncoding will be stored as a varchar(80).)
Returns the current value of Creator. (In the database, Creator is stored as int(11).)
Returns the current value of Created. (In the database, Created is stored as datetime.)
Returns the current value of LastUpdatedBy. (In the database, LastUpdatedBy is stored as int(11).)
Returns the current value of LastUpdated. (In the database, LastUpdated is stored as datetime.)
Returns the current value of Disabled. (In the database, Disabled is stored as smallint(6).)
Set Disabled to VALUE. Returns (1, 'Status message') on success and (0, 'Error Message') on failure. (In the database, Disabled will be stored as a smallint(6).)
Returns true if user has "SeeCustomField" on the associated CustomField object, otherwise false.
← Back to index