<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.imap.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'function.imap-sort.php',
    1 => 'imap_sort',
    2 => 'İletileri sıralar ve d&ouml;nd&uuml;r&uuml;r',
  ),
  'up' => 
  array (
    0 => 'ref.imap.php',
    1 => 'IMAP İşlevleri',
  ),
  'prev' => 
  array (
    0 => 'function.imap-setflag-full.php',
    1 => 'imap_setflag_full',
  ),
  'next' => 
  array (
    0 => 'function.imap-status.php',
    1 => 'imap_status',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'tr',
    'path' => 'reference/imap/functions/imap-sort.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.imap-sort" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">imap_sort</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">imap_sort</span> &mdash; <span class="dc-title">İletileri sıralar ve döndürür</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.imap-sort-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>imap_sort</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="class.imap-connection.php" class="type IMAP\Connection">IMAP\Connection</a></span> <code class="parameter">$imap</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$kural</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span> <code class="parameter">$tersine</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$seçenekler</code><span class="initializer"> = 0</span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$arama_kuralı</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$karküm</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span><br>): <span class="type"><span class="type"><a href="language.types.array.php" class="type array">array</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Belirtilen bağımsız değişkenlere göre iletileri sıralar ve döndürür.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.imap-sort-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
    
<dt><code class="parameter">imap</code></dt>
<dd><p class="para"><span class="classname"><a href="class.imap-connection.php" class="classname">IMAP\Connection</a></span> nesnesi.</p>
</dd>
    
     <dt><code class="parameter">kural</code></dt>
     <dd>
      <p class="para">
       Şunlardan sadece biri belirtilebilir:
       <ul class="itemizedlist">
        <li class="listitem">
         <span class="simpara">
          <strong><code><a href="imap.constants.php#constant.sortdate">SORTDATE</a></code></strong> - İleti tarihi
         </span>
        </li>
        <li class="listitem">
         <span class="simpara">
          <strong><code><a href="imap.constants.php#constant.sortarrival">SORTARRIVAL</a></code></strong> - Geliş tarihi
         </span>
        </li>
        <li class="listitem">
         <span class="simpara">
          <strong><code><a href="imap.constants.php#constant.sortfrom">SORTFROM</a></code></strong> -İlk Kimden adresindeki posta kutusu
         </span>
        </li>
        <li class="listitem">
         <span class="simpara">
          <strong><code><a href="imap.constants.php#constant.sortsubject">SORTSUBJECT</a></code></strong> - İleti konusu
         </span>
        </li>
        <li class="listitem">
         <span class="simpara">
          <strong><code><a href="imap.constants.php#constant.sortto">SORTTO</a></code></strong> - İlk Kime adresindeki posta kutusu
         </span>
        </li>
        <li class="listitem">
         <span class="simpara">
          <strong><code><a href="imap.constants.php#constant.sortcc">SORTCC</a></code></strong> - İlk Karbon Kopya adresindeki posta
          kutusu
         </span>
        </li>
        <li class="listitem">
         <span class="simpara">
          <strong><code><a href="imap.constants.php#constant.sortsize">SORTSIZE</a></code></strong> - Sekizlik olarak ileti uzunluğu
         </span>
        </li>
       </ul>
      </p>
     </dd>
    
    
     <dt><code class="parameter">tersine</code></dt>
     <dd>
      <p class="para">
       1 atanırsa sıralama ters yönde yapılır.
      </p>
     </dd>
    
    
     <dt><code class="parameter">seçenekler</code></dt>
     <dd>
      <p class="para">
       Aşağıda, lazım olanlardan oluşan bir bit maskesi olarak belirtilir:
       <ul class="itemizedlist">
        <li class="listitem">
         <span class="simpara">
          <strong><code><a href="imap.constants.php#constant.se-uid">SE_UID</a></code></strong> - Sıra numarası yerine eşsiz kimlikler
          döner.
         </span>
        </li>
        <li class="listitem">
         <span class="simpara">
          <strong><code><a href="imap.constants.php#constant.se-noprefetch">SE_NOPREFETCH</a></code></strong> - Arama yapılacak iletiler önce
          alınmaz.
         </span>
        </li>
       </ul>
      </p>
     </dd>
    
    
     <dt><code class="parameter">arama_kuralı</code></dt>
     <dd>
      <p class="para">
       IMAP2 biçemi arama kuralı dizgesi. Ayrıntılar için bkz:
       <span class="function"><a href="function.imap-search.php" class="function">imap_search()</a></span>
      </p>
     </dd>
    
    
     <dt><code class="parameter">karküm</code></dt>
     <dd>
      <p class="para">
       Dizgeleri sıralamakta kullanılacak MIME karakter kümesi.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.imap-sort-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Belirtilen bağımsız değişkenlere göre sıralanmış olarak bir ileti dizisi
   döner, başarısızlık durumunda <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> döner.
  </p>
 </div>

 <div class="refsect1 changelog" id="refsect1-function.imap-sort-changelog">
  <h3 class="title">Sürüm Bilgisi</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Sürüm: </th>
       <th>Açıklama</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
 <td>8.1.0</td>
 <td>
  <code class="parameter">imap</code> bağımsız değişkeni artık
  <span class="classname"><a href="class.imap-connection.php" class="classname">IMAP\Connection</a></span> nesnesi kabul ediyor, evvelce
  <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> türünde geçerli bir <code class="literal">imap</code> değeri
  kabul ederdi.
 </td>
</tr>

     <tr>
      <td>8.0.0</td>
      <td>
       <code class="parameter">tersine</code> artık  <span class="type"><a href="language.types.integer.php" class="type int">int</a></span> değil
       <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span> türünde.
      </td>
     </tr>

     <tr>
      <td>8.0.0</td>
      <td>
       <code class="parameter">arama_kuralı</code> ve <code class="parameter">karküm</code>
       artık <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> olabiliyor.
      </td>
     </tr>

     </tbody>
    
   </table>

  </p>
 </div>

</div><?php manual_footer($setup); ?>