GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
BZ::Client::Product(3) User Contributed Perl Documentation BZ::Client::Product(3)

  BZ::Client::Product - Client side representation of a product in Bugzilla

This class provides methods for accessing and managing products in Bugzilla. Instances of this class are returned by BZ::Client::Product::get.

  my $client = BZ::Client->new("url" => $url,
                               "user" => $user,
                               "password" => $password);
  my $ids = BZ::Client::Product->get_accessible_products($client);
  my $products = BZ::Client::Product->get($client, $ids);

This section lists the class methods, which are available in this module.

  my @products = BZ::Client::Product->get_selectable_products($client);

Returns a list of the ids of the products the user can search on.

  my @products = BZ::Client::Product->get_selectable_products($client);

Returns a list of the ids of the products the user can enter bugs against.

  my @products = BZ::Client::Product->get_selectable_products($client);

Returns a list of the ids of the products the user can search or enter bugs against.

  my @products = BZ::Client::Product->get($client, \@ids);

Returns a list of BZ::Client::Product instances with the product ID's mentioned in the list @ids.

  my $product = BZ::Client->Product->new("id" => $id,
                                         "name" => $name,
                                         "description" => $description);

Creates a new instance with the given ID, name, and description.

This section lists the modules instance methods.

  my $id = $product->id();
  $product->id($id);

Gets or sets the products ID.

  my $name = $product->name();
  $product->name($name);

Gets or sets the products name.

  my $description = $product->description();
  $product->description($description);

Gets or sets the products description.

  L<BZ::Client>, L<BZ::Client::API>
2009-06-23 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.