Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 4e237fd705495e1e21ef20696443e053 > files > 1136

bugzilla-5.0.4-3.mga7.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::Query</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::Query</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>
  <li class='indexItem indexItem1'><a href='#Methods_in_need_of_POD'>Methods in need of POD</a>
</ul>
</div>

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

<p>Bugzilla::Whine::Query - A query object used by <a href="../../Bugzilla/Whine.html" class="podlinkpod"
>Bugzilla::Whine</a>.</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::Query;

 my $query = new Bugzilla::Whine::Query($id);

 my $event_id          = $query-&#62;eventid;
 my $id                = $query-&#62;id;
 my $query_name        = $query-&#62;name;
 my $sortkey           = $query-&#62;sortkey;
 my $one_email_per_bug = $query-&#62;one_email_per_bug;
 my $title             = $query-&#62;title;</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 query for a <a href="../../Bugzilla/Whine/Event.html" class="podlinkpod"
>Bugzilla::Whine::Event</a>. Each event, which are groups of schedules and queries based on how the user configured the event, may have zero or more queries associated with it. Additionally, the queries are selected from the user&#39;s saved searches, or <a href="../../Bugzilla/Search/Saved.html" class="podlinkpod"
>Bugzilla::Search::Saved</a> object with a matching <code  class="code">name</code> attribute for the user.</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="event_id"
><code  class="code">event_id</code></a></dt>

<dd>
<p>The <a href="../../Bugzilla/Whine/Event.html" class="podlinkpod"
>Bugzilla::Whine::Event</a> object id for this object.</p>

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

<dd>
<p>The <a href="../../Bugzilla/Search/Saved.html" class="podlinkpod"
>Bugzilla::Search::Saved</a> query object name for this object.</p>

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

<dd>
<p>The relational sorting key as compared with other <a href="../../Bugzilla/Whine/Query.html" class="podlinkpod"
>Bugzilla::Whine::Query</a> objects.</p>

<dt><a name="one_email_per_bug"
><code  class="code">one_email_per_bug</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 <a href="../../Bugzilla/Whine/Query.html" class="podlinkpod"
>Bugzilla::Whine::Query</a> object is supposed to be mailed as a list of bugs or one email per bug.</p>

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

<dd>
<p>The title of this object as it appears in the user forms and emails.</p>
</dd>
</dl>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="Methods_in_need_of_POD"
><b>Methods in need of POD</b></a></h1>

<dl>
<dt><a name="eventid"
>eventid</a></dt>
</dl>
<p class="backlinkbottom"><b><a name="___bottom" href="../../index.html" title="All Documents">&lt;&lt;</a></b></p>

<!-- end doc -->

</body></html>