- CLASS METHODS
- EXCEPTION HANDLING
- SEE ALSO
- COPYRIGHT AND LICENSE
BZ::Client::Classification - Client side representation of Classifications in Bugzilla
This class provides methods for accessing Classification information in the Bugzilla server.
my $client = BZ::Client->new( url => $url, user => $user, password => $password ); my $classifications = BZ::Client::Classification->get( $client, \%params );
This section lists the class methods, which are available in this module.
$classifications = BZ::Client::Classification->get( $client, \%params );
Returns a hash containing information about a set of classifications.
Added in Bugzilla 4.4.
Marked experiemental as of Bugzilla 5.0.
You could get classifications info by supplying their names and/or ids. So, this method accepts the following parameters:
An array of classification ids.
An array of classification names.
An array of hashes as the corresponding value. Each element of the array represents a classification that the user is authorized to see and has the following keys:
id (int) The id of the classification.
name (string) The name of the classification.
description (string) The description of the classificaion.
sort_key (int) The value which determines the order the classification is sorted.
An array of hashes. The array contains the products the user is authorized to access within the classification. Each hash has the following keys:
name (string) The name of the product.
id (int) The id of the product.
description (string) The description of the product.
Dean Hamstead <firstname.lastname@example.org>
Jochen Wiedmann <email@example.com>
This software is copyright (c) 2017 by Dean Hamstad.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.