<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.outcontrol.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'function.ob-get-status.php',
    1 => 'ob_get_status',
    2 => '&Ccedil;ıktı tamponlarının durumu ile d&ouml;ner',
  ),
  'up' => 
  array (
    0 => 'ref.outcontrol.php',
    1 => '&Ccedil;ıktı Denetim İşlevleri',
  ),
  'prev' => 
  array (
    0 => 'function.ob-get-level.php',
    1 => 'ob_get_level',
  ),
  'next' => 
  array (
    0 => 'function.ob-implicit-flush.php',
    1 => 'ob_implicit_flush',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'tr',
    'path' => 'reference/outcontrol/functions/ob-get-status.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.ob-get-status" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ob_get_status</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.2.0, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">ob_get_status</span> &mdash; <span class="dc-title">Çıktı tamponlarının durumu ile döner</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ob-get-status-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>ob_get_status</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span> <code class="parameter">$tam_durum</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong></span></span>): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>ob_get_status()</strong></span> işlevi, <code class="parameter">tam_durum</code>
   bağımsız değişkeninde <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> belirtilmişse her seviyeden etkin çıktı
   tamponlarının tamamının durumunu, aksi takdirde üst seviye çıktı tamponunun
   durumunu döndürür.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ob-get-status-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">tam_durum</code></dt>
     <dd>
      <p class="para">
       <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> her seviyeden etkin çıktı tamponlarının tamamının durumunu,
       <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> ise veya belirtilmezse sadece üst seviye çıktı tamponunun
       durumunu döndürür.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ob-get-status-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   <code class="parameter">tam_durum</code> bağımsız değişkeni belirtilmezse veya
   <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> olduğunda etkin çıktı seviyesindeki durum bilgisini tutan basit bir
   dizi döndürülür.
  </p>
  <p class="para">
   <code class="parameter">tam_durum</code> <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> ise her etkin çıktı tamponu
   seviyesi için tek elemana sahip bir dizi döndürülür. Çıktı seviyesi, en
   üst seviye dizinin anahtarı olarak kullanılır ve her dizi elemanının
   kendisi, tek bir etkin çıkış seviyesindeki durum bilgisini tutan başka bir
   dizidir.
  </p>
  <p class="para">
   Çıktı tamponu etkin değilse boş bir dizi döndürülür.
  </p>
  <p class="para">
   <table class="segmentedlist">
    <caption><strong><span class="function"><strong>ob_get_status()</strong></span> işlevinin döndürdüğü dizi elemanları</strong></caption>
    <thead><tr><th>Anahtar</th><th>Değer</th>
    </tr></thead><tbody><tr class="seglistitem">
     <td class="seg">name</td>
     <td class="seg">
      Etkin çıktı işleyicisinin ismi (ayrıntılar için bkz, <span class="function"><a href="function.ob-list-handlers.php" class="function">ob_list_handlers()</a></span>) dönüş değeleri)
     </td>
    </tr>
    <tr class="seglistitem">
     <td class="seg">type</td>
     <td class="seg">
      <code class="literal">0</code> (dahili işleyici) veya
      <code class="literal">1</code> (kullanıcı tanımlı işleyici)
     </td>
    </tr>
    <tr class="seglistitem">
     <td class="seg">flags</td>
     <td class="seg">
      <span class="function"><a href="function.ob-start.php" class="function">ob_start()</a></span> tarafından ayarlanan bayrakların bit
      maskesi, çıktı işleyicisinin türü (yukarıya bakın) ve tamponlama
      işleminin durumu
      (<a href="outcontrol.constants.php#outcontrol.constants.flags-returned-by-handler" class="link">
       <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-start">PHP_OUTPUT_HANDLER_<span class="replaceable">*</span></a></code></strong>
      </a> sabitleri). Eğer işleyici, tamponu başarıyla işlediyse ve
      <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> döndürmediyse,
      <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-started">PHP_OUTPUT_HANDLER_STARTED</a></code></strong> ve
      <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-processed">PHP_OUTPUT_HANDLER_PROCESSED</a></code></strong> atanır.  Eğer
      işleyici, tamponu başarıyla işleyemediyse ve <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> döndürdüyse,
      <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-started">PHP_OUTPUT_HANDLER_STARTED</a></code></strong> ve
      <strong><code><a href="outcontrol.constants.php#constant.php-output-handler-disabled">PHP_OUTPUT_HANDLER_DISABLED</a></code></strong> atanır.
     </td>
    </tr>
    <tr class="seglistitem">
     <td class="seg">level</td>
     <td class="seg">
      Çıktı iç içelik seviyesi (sıfır tabanlı). Aynı seviye için
      <span class="function"><a href="function.ob-get-level.php" class="function">ob_get_level()</a></span> tarafından döndürülen değerin bir
      eksik olduğu unutulmamalıdır. İlk seviye
      <span class="function"><strong>ob_get_status()</strong></span> için <code class="literal">0</code> ve
      <span class="function"><a href="function.ob-get-level.php" class="function">ob_get_level()</a></span> için <code class="literal">1</code>&#039;dir.
     </td>
    </tr>
    <tr class="seglistitem">
     <td class="seg">chunk_size</td>
     <td class="seg">
      Bayt cinsinden parça boyu. <span class="function"><a href="function.ob-start.php" class="function">ob_start()</a></span> veya
      <a href="outcontrol.configuration.php#ini.output-buffering" class="link">output_buffering</a> tarafından
      etkinleştirilir ve değer olarak pozitif bir tamsayı atanır.
     </td>
    </tr>
    <tr class="seglistitem">
     <td class="seg">buffer_size</td>
     <td class="seg">
      Bayt cinsinden çıktı tamponu boyu.
     </td>
    </tr>
    <tr class="seglistitem">
     <td class="seg">buffer_used</td>
     <td class="seg">
      Bayt cinsinden çıtı tamponundaki verini boyu
      (<span class="function"><a href="function.ob-get-length.php" class="function">ob_get_length()</a></span> işlevinin tamsayı dönüş değeri ile aynı).
     </td>
    </tr>
   </tbody></table>
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.ob-get-status-examples">
  <h3 class="title">Örnekler</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Örnek 1 - <code class="parameter">tam_durum</code> <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> olduğunda dönen dizi</strong></p>
    <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">Array
(
    [type] =&gt; 0
    [flags] =&gt; 112
    [level] =&gt; 2
    [chunk_size] =&gt; 0
    [buffer_size] =&gt; 16384
    [buffer_used] =&gt; 1024
)</pre>
</div>
    </div>
   </div>
  </p>
  <p class="para">
   <div class="example" id="example-2">
    <p><strong>Örnek 2 - <code class="parameter">tam_durum</code> <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> olduğunda dönen dizi</strong></p>
    <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">Array
(
    [0] =&gt; Array
        (
            [name] =&gt; default output handler
            [type] =&gt; 0
            [flags] =&gt; 112
            [level] =&gt; 1
            [chunk_size] =&gt; 0
            [buffer_size] =&gt; 16384
            [buffer_used] =&gt; 2048
        )

    [1] =&gt; Array
        (
            [name] =&gt; URL-Rewriter
            [type] =&gt; 0
            [flags] =&gt; 112
            [level] =&gt; 2
            [chunk_size] =&gt; 0
            [buffer_size] =&gt; 16384
            [buffer_used] =&gt; 1024
        )
)</pre>
</div>
    </div>
   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ob-get-status-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.ob-get-level.php" class="function" rel="rdfs-seeAlso">ob_get_level()</a> - &Ccedil;ıktı tamponlama mekanizmasının i&ccedil; i&ccedil;elik seviyesini d&ouml;nd&uuml;r&uuml;r</span></li>
    <li><span class="function"><a href="function.ob-list-handlers.php" class="function" rel="rdfs-seeAlso">ob_list_handlers()</a> - Kullanımdaki &ccedil;ıktı eylemcileri listeler</span></li>
    <li><span class="function"><a href="function.ob-get-length.php" class="function" rel="rdfs-seeAlso">ob_get_length()</a> - &Ccedil;ıktı tamponunundaki i&ccedil;eriğin uzunluğunu d&ouml;nd&uuml;r&uuml;r</span></li>
    <li><span class="function"><a href="function.ob-start.php" class="function" rel="rdfs-seeAlso">ob_start()</a> - &Ccedil;ıktı tamponlamasını başlatır</span></li>
   </ul>
  </p>
 </div>


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