RT::CustomField_Overlay
Create takes a hash of values and creates a row in the database:
varchar(200) 'Name'. varchar(200) 'Type'. int(11) 'Queue'. varchar(255) 'Description'. int(11) 'SortOrder'. smallint(6) 'Disabled'.
Loads the Custom field named NAME for Queue QUEUE. If QUEUE is 0, loads a global custom field
Create a new value for this CustomField. Takes a paramhash containing the elements Name, Description and SortOrder
Deletes a value from this custom field by id.
Does not remove this value for any article which has had it selected
Return a CustomFieldeValues object of all acceptable values for this Custom Field.
Returns a RT::TicketCustomFieldValues object of this Field's values for TICKET. TICKET is a ticket id.
Adds a custom field value for a ticket. Takes a param hash of Ticket and Content
Adds a custom field value for a ticket. Takes a param hash of Ticket and Content
Make sure that the queue specified is a valid queue name
Retuns an array of the types of CustomField that are supported
Returns a localized human-readable version of the custom field type. If a custom field type is specified as the parameter, the friendly type for that type will be returned
Takes a single string. returns true if that string is a value type of custom field
Returns true if this CustomField only accepts a single value. Returns false if it accepts multiple values
Helper function to call the custom field's queue's CurrentUserHasRight with the passed in args.
Takes the name of a table column. Returns its value as a string, if the user passes an ACL check
Takes a boolean. 1 will cause this custom field to no longer be avaialble for tickets. 0 will re-enable this queue