NAME

BZ::Client::Bugzilla - Information about the Bugzilla server, i.e. the Bugzilla::Webservices::Bugzilla API

VERSION

version 2.0_4

SYNOPSIS

This class provides methods for accessing information about the Bugzilla servers installation.

my $client = BZ::Client->new( url      => $url,
                              user     => $user,
                              password => $password );

my $extensions = BZ::Client::Bugzilla->extensions( $client );
my $time = BZ::Client::Bugzilla->time( $client );
my $version = BZ::Client::Bugzilla->version( $client );

CLASS METHODS

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

extensions

my $extensions = BZ::Client::Bugzilla->extensions( $client );

Returns a hash ref with information about the Bugzilla servers extensions.

time

my $time = BZ::Client::Bugzilla->time( $client );

Returns a hash ref with information about the Bugzilla servers local time.

Note: as of Bugzilla 3.6 this will always return UTC values.

timezone

my $timezone = BZ::Client::Bugzilla->timezone( $client );

Returns the Bugzilla servers timezone as a numeric value. This method is deprecated: Use "time" instead.

Note: as of Bugzilla 3.6 the timezone is always +0000 (UTC) Also, Bugzilla has depreceated but not yet removed this API call

version

my $version = BZ::Client::Bugzilla->version( $client );

Returns the Bugzilla servers version.

TODO

paramaters (added in 4.4)
last_audit_time (added in 4.4)

SEE ALSO

L<BZ::Client>, L<BZ::Client::API>, L<Bugzilla API|https://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Bugzilla.html>

AUTHORS

  • Dean Hamstead <dean@bytefoundry.com.au>

  • Jochen Wiedmann <jochen.wiedmann@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 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.