Sophie

Sophie

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

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::FlagType</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::FlagType</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='#NOTES'>NOTES</a>
  <ul   class='indexList indexList2'>
    <li class='indexItem indexItem2'><a href='#METHODS'>METHODS</a>
  </ul>
  <li class='indexItem indexItem1'><a href='#PUBLIC_FUNCTIONS%2FMETHODS'>PUBLIC FUNCTIONS/METHODS</a>
  <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::FlagType - A module to deal with Bugzilla flag types.</p>

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

<p>FlagType.pm provides an interface to flag types as stored in Bugzilla.
See below for more information.</p>

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

<ul>
<li>Use of private functions/variables outside this module may lead to unexpected results after an upgrade.
Please avoid using private functions in other files/modules.
Private functions are functions whose names start with _ or are specifically noted as being private.</li>
</ul>

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

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

<dd>
<p>Returns the ID of the flagtype.</p>

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

<dd>
<p>Returns the name of the flagtype.</p>

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

<dd>
<p>Returns the description of the flagtype.</p>

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

<dd>
<p>Returns the concatenated CC list for the flagtype,
as a single string.</p>

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

<dd>
<p>Returns whether the flagtype applies to bugs or attachments.</p>

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

<dd>
<p>Returns whether the flagtype is active or disabled.
Flags being in a disabled flagtype are not deleted.
It only prevents you from adding new flags to it.</p>

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

<dd>
<p>Returns whether you can request for the given flagtype (i.e.
whether the &#39;?&#39; flag is available or not).</p>

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

<dd>
<p>Returns whether you can ask someone specifically or not.</p>

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

<dd>
<p>Returns whether you can have more than one flag for the given flagtype in a given bug/attachment.</p>

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

<dd>
<p>Returns the sortkey of the flagtype.</p>
</dd>
</dl>

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

<dd>
<p>Returns a reference to an array of users who have permission to grant this flag type.
The arrays are populated with hashrefs containing the login,
identity and visibility of users.</p>

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

<dd>
<p>Returns the group (as a Bugzilla::Group object) in which a user must be in order to grant or deny a request.</p>

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

<dd>
<p>Returns the group (as a Bugzilla::Group object) in which a user must be in order to request or clear a flag.</p>

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

<dd>
<p>Returns the number of flags belonging to the flagtype.</p>

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

<dd>
<p>Return a hash of product/component IDs and names explicitly associated with the flagtype.</p>

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

<dd>
<p>Return a hash of product/component IDs and names explicitly excluded from the flagtype.</p>
</dd>
</dl>

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

<dl>
<dt><a name="get_clusions($id,_$type)"
><code  class="code">get_clusions($id,
$type)</code></a></dt>

<dd>
<p>Return a hash of product/component IDs and names associated with the flagtype: $clusions{&#39;product_name:component_name&#39;} = &#34;product_ID:component_ID&#34;</p>
</dd>
</dl>

<dl>
<dt><a name="match($criteria)"
><code  class="code">match($criteria)</code></a></dt>

<dd>
<p>Queries the database for flag types matching the given criteria and returns a list of matching flagtype objects.</p>
</dd>
</dl>

<dl>
<dt><a name="count($criteria)"
><code  class="code">count($criteria)</code></a></dt>

<dd>
<p>Returns the total number of flag types matching the given criteria.</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="exclusions_as_hash"
>exclusions_as_hash</a></dt>

<dd>
<dt><a name="request_group_id"
>request_group_id</a></dt>

<dd>
<dt><a name="set_is_active"
>set_is_active</a></dt>

<dd>
<dt><a name="set_is_multiplicable"
>set_is_multiplicable</a></dt>

<dd>
<dt><a name="inclusions_as_hash"
>inclusions_as_hash</a></dt>

<dd>
<dt><a name="set_sortkey"
>set_sortkey</a></dt>

<dd>
<dt><a name="grant_group_id"
>grant_group_id</a></dt>

<dd>
<dt><a name="set_cc_list"
>set_cc_list</a></dt>

<dd>
<dt><a name="set_request_group"
>set_request_group</a></dt>

<dd>
<dt><a name="set_name"
>set_name</a></dt>

<dd>
<dt><a name="set_is_specifically_requestable"
>set_is_specifically_requestable</a></dt>

<dd>
<dt><a name="set_grant_group"
>set_grant_group</a></dt>

<dd>
<dt><a name="create"
>create</a></dt>

<dd>
<dt><a name="set_clusions"
>set_clusions</a></dt>

<dd>
<dt><a name="set_description"
>set_description</a></dt>

<dd>
<dt><a name="set_is_requestable"
>set_is_requestable</a></dt>

<dd>
<dt><a name="update"
>update</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>