Constructors
ExtraFieldsInfo()
Methods
eof()
Checks if there are no more fields in the result.getChildrenFields(Integer,Integer)
Loads extra fields of the type given in the first parameter. If the type is an extra table relation, the second pointer is the ID of the extra table it points to.Unless type is 20 (extratable), the second parameter won’t do anything.Types can be:Integer = 1, Text (long) = 2, Date = 3, DateTime = 4, Time = 5, Bool = 6, TimeSpan = 7, Text (short) = 10, Customer relation = 16, Company relation = 17, Ticket relation = 18, User relation = 19, Extra table relation = 20, Attachment relation = 22, Link = 23, Category relation = 24, Priority relation = 25, FAQ relation = 26
getCompanyChildrenFields()
This is a helper function for getting company relation fields. It is equivalent to calling getChildrenFields(17, 0).getCustomerChildrenFields()
This is a helper function for getting customer relation fields. It is equivalent to calling getChildrenFields(16, 0).getDisplayField()
Returns the display field of the current field.The display field is a format of the field that can be used to address the field in functions such as SearchEngine.
getExtraFields(String)
Gets extra fields related to the given table. Using this method will make it possible to access the information in the extra fields by using the other functions in the class.getFieldName()
Returns the field name of the current field.getFlags()
Returns the flags for the current extra field. The flags can be accessed by wrapping the returned Integer in a FHBitSet.getName()
Returns the descriptive name (not the database name) of the current field.getParam(String,String)
This function returns the value of the given parameter.Available values:
getTableName()
Returns the name of the table the current field belongs to.getTicketChildrenFields()
This is a helper function for getting ticket relation fields. It is equivalent to calling getChildrenFields(18, 0).next()
This function moves to the next field in the result.A common usage is in the increment section in a for loop.