Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 9e41a94a3e659caa5b91706d5c415d34 > files > 883

bugzilla-4.4.11-1.mga5.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <title>
Bugzilla::Whine</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <link rel="stylesheet" title="style" type="text/css" href=".././../../../style.css" media="all" >

</head>
  <body id="pod">
<p class="backlinktop"><b><a name="___top" href="../index.html" accesskey="1" title="All Documents">&lt;&lt;</a></b></p>
<h1>Bugzilla::Whine</h1>
<div class='indexgroup'>
<ul   class='indexList indexList1'>
  <li class='indexItem indexItem1'><a href='#NAME'>NAME</a>
  <li class='indexItem indexItem1'><a href='#SYNOPSIS'>SYNOPSIS</a>
  <li class='indexItem indexItem1'><a href='#DESCRIPTION'>DESCRIPTION</a>
  <li class='indexItem indexItem1'><a href='#METHODS'>METHODS</a>
  <ul   class='indexList indexList2'>
    <li class='indexItem indexItem2'><a href='#Constructors'>Constructors</a>
    <li class='indexItem indexItem2'><a href='#Accessors'>Accessors</a>
  </ul>
</ul>
</div>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="NAME"
>NAME</a></h1>

<p>Bugzilla::Whine - A Whine event</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="SYNOPSIS"
>SYNOPSIS</a></h1>

<pre  class="code"> use Bugzilla::Whine;

 my $event = new Bugzilla::Whine($event_id);

 my $subject      = $event-&#62;subject;
 my $body         = $event-&#62;body;
 my $mailifnobugs = $event-&#62;mail_if_no_bugs;
 my $user         = $event-&#62;user;</pre>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="DESCRIPTION"
>DESCRIPTION</a></h1>

<p>This module exists to represent a whine event that has been saved to the database.</p>

<p>This is an implementation of <a href="../Bugzilla/Object.html" class="podlinkpod"
>Bugzilla::Object</a>, and so has all the same methods available as <a href="../Bugzilla/Object.html" class="podlinkpod"
>Bugzilla::Object</a>, in addition to what is documented below.</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="METHODS"
>METHODS</a></h1>

<h2><a class='u' href='#___top' title='click to go to top of document'
name="Constructors"
>Constructors</a></h2>

<dl>
<dt><a name="new"
><code  class="code">new</code></a></dt>

<dd>
<p>Does not accept a bare <code  class="code">name</code> argument. Instead, accepts only an id.</p>

<p>See also: <a href="../Bugzilla/Object.html#new" class="podlinkpod"
>&#34;new&#34; in Bugzilla::Object</a>.</p>
</dd>
</dl>

<h2><a class='u' href='#___top' title='click to go to top of document'
name="Accessors"
>Accessors</a></h2>

<p>These return data about the object, without modifying the object.</p>

<dl>
<dt><a name="subject"
><code  class="code">subject</code></a></dt>

<dd>
<p>Returns the subject of the whine event.</p>

<dt><a name="body"
><code  class="code">body</code></a></dt>

<dd>
<p>Returns the body of the whine event.</p>

<dt><a name="mail_if_no_bugs"
><code  class="code">mail_if_no_bugs</code></a></dt>

<dd>
<p>Returns a numeric 1(<code  class="code">true</code>) or 0(<code  class="code">false</code>) to represent whether this whine event object is supposed to be mailed even if there are no bugs returned by the query.</p>

<dt><a name="user"
><code  class="code">user</code></a></dt>

<dd>
<p>Returns the <a href="../Bugzilla/User.html" class="podlinkpod"
>Bugzilla::User</a> object for the owner of the <a href="../Bugzilla/Whine.html" class="podlinkpod"
>Bugzilla::Whine</a> event.</p>
</dd>
</dl>
<p class="backlinkbottom"><b><a name="___bottom" href="../index.html" title="All Documents">&lt;&lt;</a></b></p>

<!-- end doc -->

</body></html>