Bugzilla::FlagType - A module to deal with Bugzilla flag types.
FlagType.pm provides an interface to flag types as stored in Bugzilla. See below for more information.
idReturns the ID of the flagtype.
nameReturns the name of the flagtype.
descriptionReturns the description of the flagtype.
cc_listReturns the concatenated CC list for the flagtype, as a single string.
target_typeReturns whether the flagtype applies to bugs or attachments.
is_activeReturns whether the flagtype is active or disabled. Flags being in a disabled flagtype are not deleted. It only prevents you from adding new flags to it.
is_requestableReturns whether you can request for the given flagtype (i.e. whether the '?' flag is available or not).
is_requesteebleReturns whether you can ask someone specifically or not.
is_multiplicableReturns whether you can have more than one flag for the given flagtype in a given bug/attachment.
sortkeyReturns the sortkey of the flagtype.
grant_listReturns a reference to an array of users who have permission to grant this flag type. The arrays are populated with hashrefs containing the login, identity and visibility of users.
grant_groupReturns the group (as a Bugzilla::Group object) in which a user must be in order to grant or deny a request.
request_groupReturns the group (as a Bugzilla::Group object) in which a user must be in order to request or clear a flag.
flag_countReturns the number of flags belonging to the flagtype.
inclusionsReturn a hash of product/component IDs and names explicitly associated with the flagtype.
exclusionsReturn a hash of product/component IDs and names explicitly excluded from the flagtype.
get_clusions($id,
$type)Return a hash of product/component IDs and names associated with the flagtype: $clusions{'product_name:component_name'} = "product_ID:component_ID"
match($criteria)Queries the database for flag types matching the given criteria and returns a list of matching flagtype objects.
count($criteria)Returns the total number of flag types matching the given criteria.