~ubuntu-branches/debian/squeeze/bugzilla/squeeze

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Raphael Bossek
  • Date: 2008-06-27 22:34:34 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080627223434-0ib57vstn43bb4a3
Tags: 3.0.4.1-1
* Update of French, Russian and German translations. (closes: #488251)
* Added Bulgarian and Belarusian translations.

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::Milestone</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::Milestone</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::Milestone - Bugzilla product milestone 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::Milestone;
34
 
 
35
 
    my $milestone = new Bugzilla::Milestone(
36
 
        { product =&#62; $product, name =&#62; &#39;milestone_value&#39; });
37
 
 
38
 
    my $product_id = $milestone-&#62;product_id;
39
 
    my $value = $milestone-&#62;value;
40
 
 
41
 
    my $milestone = $hash_ref-&#62;{&#39;milestone_value&#39;};</pre>
42
 
 
43
 
<h1><a class='u' href='#___top' title='click to go to top of document'
44
 
name="DESCRIPTION"
45
 
>DESCRIPTION</a></h1>
46
 
 
47
 
<p>Milestone.pm represents a Product Milestone object.</p>
48
 
 
49
 
<h1><a class='u' href='#___top' title='click to go to top of document'
50
 
name="METHODS"
51
 
>METHODS</a></h1>
52
 
 
53
 
<dl>
54
 
<dt><a name="new($product_id,_$value)"
55
 
><code  class="code">new($product_id, $value)</code></a></dt>
56
 
 
57
 
<dd>
58
 
<pre  class="code"> Description: The constructor is used to load an existing milestone
59
 
              by passing a product id and a milestone value.
60
 
 
61
 
 Params:      $product_id - Integer with a Bugzilla product id.
62
 
              $value - String with a milestone value.
63
 
 
64
 
 Returns:     A Bugzilla::Milestone object.</pre>
65
 
 
66
 
<dt><a name="bug_count()"
67
 
><code  class="code">bug_count()</code></a></dt>
68
 
 
69
 
<dd>
70
 
<pre  class="code"> Description: Returns the total of bugs that belong to the milestone.
71
 
 
72
 
 Params:      none.
73
 
 
74
 
 Returns:     Integer with the number of bugs.</pre>
75
 
</dd>
76
 
</dl>
77
 
 
78
 
<h1><a class='u' href='#___top' title='click to go to top of document'
79
 
name="SUBROUTINES"
80
 
>SUBROUTINES</a></h1>
81
 
 
82
 
<dl>
83
 
<dt><a name="check_milestone($product,_$milestone_name)"
84
 
><code  class="code">check_milestone($product, $milestone_name)</code></a></dt>
85
 
 
86
 
<dd>
87
 
<pre  class="code"> Description: Checks if a milestone name was passed in
88
 
              and if it is a valid milestone.
89
 
 
90
 
 Params:      $product - Bugzilla::Product object.
91
 
              $milestone_name - String with a milestone name.
92
 
 
93
 
 Returns:     Bugzilla::Milestone object.</pre>
94
 
</dd>
95
 
</dl>
96
 
<p class="backlinkbottom"><b><a name="___bottom" href="../index.html" title="All Documents">&lt;&lt;</a></b></p>
97
 
 
98
 
<!-- end doc -->
99
 
 
100
 
</body></html>