~ubuntu-branches/debian/sid/bugzilla/sid

« back to all changes in this revision

Viewing changes to docs/html/api/Bugzilla/Classification.html

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Patrick Davies
  • Date: 2008-05-29 17:20:32 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080529172032-tddh964ztksxayjm
Tags: 3.0.4-0ubuntu1
* New upstream release (LP: #138886, #235701).
* Removed "CVS" directories and ".cvsignore" files from upstream tarball.
* Added patches/ubuntu_01_bugzilla_libpath.dpatch - newly updated as necessary
  version of old 01_libpath.dpatch patch.
* Added patches/01_debian_package_version.dpatch - replaces old patch
  01_VERSION.dpatch, simply changes the version of Bugzilla to show the
  Debian packaging's versioning.
* Added patches/ubuntu_05_makefile_install.dpatch - Use a Makefile to
  install Bugzilla to the correct locations. Based on Makefile in old
  package but in patch form.
* Removed 02_checksetup.dpatch - fixed upstream.
* Removed 101_Config.diff - upstream has changed codebase.
* Renamed 06_contrib.dpatch to ubuntu_02_contrib_shebang_fixes.dpatch -
  corrects 'shebangs' which point to /usr/local/bin/ to /usr/bin/.
* Renamed 08_showdependencygraph.dpatch to
  ubuntu_03_showdependencygraph_url_fixes.dpatch and updated code as
  necessary - fixes graph URL to make the webdot generation possible.
* Removed CVE-2007-0791.dpatch - applied to upstream code.
* Removed CVE-2007-4543.dpatch - applied to upstream code.
* Renamed 09_homelink.dpatch to ubuntu_04_fixed_homepage_linked.dpatch -
  upstream now has links in
  'template/en/default/global/common-links.html.tmpl' instead of
  'useful-links.html.tmpl'.
* Removed 03_webpath.dpatch - upstream has changed stylesheet layout.
* Updated 10_perl_scripts_shebang.dpatch and removed part on "globals.pl" -
  no longer in source.
* Removed Debian vhost support patches (see docs/html/multiple-bz-dbs.html
  for how to run multiple Bugzilla instances):
  - Removed 04_Config.pm.dpatch - duplicate patch and unable to adapt it to
    new upstream code.
  - Removed 07_virtualhosting.dpatch - duplicate patch of
    04_Config.pm.dpatch.
  - Removed 'debian/examples' - contained Apache VHost example setup files
    for Bugzilla.
  - Removed section about vhosts from README.Debian.
* debian/rules:
  - Removed rules for "vhost conf dir", "examples" and "101_Config.diff"
    installation rules.
  - Removed part about bugzilla-fr package.
  - Remved part about "whine.pl" - now in Makefile.
  - Added rules to check the setup with upstream's "checksetup.pl" script.
* debian/control:
  - Updated Standards-Version to 3.7.3.
  - Updated compatibity level and debhelper build dependency version to 6.
  - Added Homepage field to source package stanza.
  - Added part about seeing 'bugzilla' package for more info to
    'bugzilla-docs'.
  - Added libapache2-mod-perl2, libtemplate-perl, libmime-perl,
    libappconfig-perl, libdbd-mysql-perl, libtimedate-perl, libgd-gd2-perl,
    libgd-text-perl, libxml-twig-perl, perlmagick, libemail-send-perl,
    libemail-mime-modifier-perl, libchart-perl, libgd-graph-perl,
    libhtml-scrubber-perl, libdbi-perl, libfile-spec-perl, libgd-graph-perl,
    libgd-text-perl, libnet-ldap-perl, libxml-parser-perl: to build
    dependencies with the necessary versions as stated by upstream in
    docs/html/installation.html - in order to check packaging correctly with
    'checksetup.pl' in rules. Also updated the 'bugzilla' dependencies with
    the above (LP: #235461).
  - Removed dependencies on old "apache" packages as they are no longer in
    the archives.
  - Moved mail transport agents on 'bugzilla' from Depends to
    Suggests (LP: #156405).
* debian/copyright: Updated the downloaded from link.
* debian/bugzilla.docs: Added "QUICKSTART", "rel_notes.txt" and "UPGRADING"
  documentation from source tarball for inclusion in package.
* debian/bugzilla-doc.doc-base: Corrected some spelling mistakes.
* debian/bugzilla.postinst: Removed sections about 101_Config.diff.
* Changed 'X_BUGZILLA_SITE' in bugzilla.cron.daily and bugzilla.postinst to
  'PROJECT'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
2
<html>
 
3
  <head>
 
4
    <title>
 
5
Bugzilla::Classification</title>
 
6
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
7
  <link rel="stylesheet" title="style" type="text/css" href="../style.css" media="all" >
 
8
 
 
9
</head>
 
10
  <body id="pod">
 
11
<p class="backlinktop"><b><a name="___top" href="../index.html" accesskey="1" title="All Documents">&lt;&lt;</a></b></p>
 
12
<h1>Bugzilla::Classification</h1>
 
13
<div class='indexgroup'>
 
14
<ul   class='indexList indexList1'>
 
15
  <li class='indexItem indexItem1'><a href='#NAME'>NAME</a>
 
16
  <li class='indexItem indexItem1'><a href='#SYNOPSIS'>SYNOPSIS</a>
 
17
  <li class='indexItem indexItem1'><a href='#DESCRIPTION'>DESCRIPTION</a>
 
18
  <li class='indexItem indexItem1'><a href='#METHODS'>METHODS</a>
 
19
  <li class='indexItem indexItem1'><a href='#SUBROUTINES'>SUBROUTINES</a>
 
20
</ul>
 
21
</div>
 
22
 
 
23
<h1><a class='u' href='#___top' title='click to go to top of document'
 
24
name="NAME"
 
25
>NAME</a></h1>
 
26
 
 
27
<p>Bugzilla::Classification - Bugzilla classification class.</p>
 
28
 
 
29
<h1><a class='u' href='#___top' title='click to go to top of document'
 
30
name="SYNOPSIS"
 
31
>SYNOPSIS</a></h1>
 
32
 
 
33
<pre  class="code">    use Bugzilla::Classification;
 
34
 
 
35
    my $classification = new Bugzilla::Classification(1);
 
36
    my $classification = new Bugzilla::Classification({name =&#62; &#39;Acme&#39;});
 
37
 
 
38
    my $id = $classification-&#62;id;
 
39
    my $name = $classification-&#62;name;
 
40
    my $description = $classification-&#62;description;
 
41
    my $product_count = $classification-&#62;product_count;
 
42
    my $products = $classification-&#62;products;
 
43
 
 
44
    my $hash_ref = Bugzilla::Classification::get_all_classifications();
 
45
    my $classification = $hash_ref-&#62;{1};
 
46
 
 
47
    my $classification =
 
48
        Bugzilla::Classification::check_classification(&#39;AcmeClass&#39;);</pre>
 
49
 
 
50
<h1><a class='u' href='#___top' title='click to go to top of document'
 
51
name="DESCRIPTION"
 
52
>DESCRIPTION</a></h1>
 
53
 
 
54
<p>Classification.pm represents a Classification object.</p>
 
55
 
 
56
<p>A Classification is a higher-level grouping of Products.</p>
 
57
 
 
58
<h1><a class='u' href='#___top' title='click to go to top of document'
 
59
name="METHODS"
 
60
>METHODS</a></h1>
 
61
 
 
62
<dl>
 
63
<dt><a name="new($param)"
 
64
><code  class="code">new($param)</code></a></dt>
 
65
 
 
66
<dd>
 
67
<pre  class="code"> Description: The constructor is used to load an existing
 
68
              classification by passing a classification
 
69
              id or classification name using a hash.
 
70
 
 
71
 Params:      $param - If you pass an integer, the integer is the
 
72
                      classification_id from the database that we
 
73
                      want to read in. If you pass in a hash with
 
74
                      &#39;name&#39; key, then the value of the name key
 
75
                      is the name of a classification from the DB.
 
76
 
 
77
 Returns:     A Bugzilla::Classification object.</pre>
 
78
 
 
79
<dt><a name="product_count()"
 
80
><code  class="code">product_count()</code></a></dt>
 
81
 
 
82
<dd>
 
83
<pre  class="code"> Description: Returns the total number of products that belong to
 
84
              the classification.
 
85
 
 
86
 Params:      none.
 
87
 
 
88
 Returns:     Integer - The total of products inside the classification.</pre>
 
89
 
 
90
<dt><a name="products"
 
91
><code  class="code">products</code></a></dt>
 
92
 
 
93
<dd>
 
94
<pre  class="code"> Description: Returns all products of the classification.
 
95
 
 
96
 Params:      none.
 
97
 
 
98
 Returns:     A reference to an array of Bugzilla::Product objects.</pre>
 
99
</dd>
 
100
</dl>
 
101
 
 
102
<h1><a class='u' href='#___top' title='click to go to top of document'
 
103
name="SUBROUTINES"
 
104
>SUBROUTINES</a></h1>
 
105
 
 
106
<dl>
 
107
<dt><a name="get_all_classifications()"
 
108
><code  class="code">get_all_classifications()</code></a></dt>
 
109
 
 
110
<dd>
 
111
<pre  class="code"> Description: Returns all classifications.
 
112
 
 
113
 Params:      none.
 
114
 
 
115
 Returns:     Bugzilla::Classification object list.</pre>
 
116
 
 
117
<dt><a name="check_classification($classification_name)"
 
118
><code  class="code">check_classification($classification_name)</code></a></dt>
 
119
 
 
120
<dd>
 
121
<pre  class="code"> Description: Checks if the classification name passed in is a
 
122
              valid classification.
 
123
 
 
124
 Params:      $classification_name - String with a classification name.
 
125
 
 
126
 Returns:     Bugzilla::Classification object.</pre>
 
127
</dd>
 
128
</dl>
 
129
<p class="backlinkbottom"><b><a name="___bottom" href="../index.html" title="All Documents">&lt;&lt;</a></b></p>
 
130
 
 
131
<!-- end doc -->
 
132
 
 
133
</body></html>