Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
BZ::Client::Product(3)User Contributed Perl DocumentatioBZ::Client::Product(3)

NAME
	 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.

SYNOPSIS
	 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);

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

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

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

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

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

   get_accessible_products
	 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.

   get
	 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.

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

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

INSTANCE METHODS
       This section lists the modules instance methods.

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

       Gets or sets the	products ID.

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

       Gets or sets the	products name.

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

       Gets or sets the	products description.

SEE ALSO
	 L<BZ::Client>,	L<BZ::Client::API>

perl v5.24.1			  2009-06-23		BZ::Client::Product(3)

NAME | SYNOPSIS | CLASS METHODS | INSTANCE METHODS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=BZ::Client::Product&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help