<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.ocilob.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'es',
  ),
  'this' => 
  array (
    0 => 'ocilob.flush.php',
    1 => 'OCILob::flush',
    2 => 'Escribe los LOB Oracle en el disco',
  ),
  'up' => 
  array (
    0 => 'class.ocilob.php',
    1 => 'OCILob',
  ),
  'prev' => 
  array (
    0 => 'ocilob.export.php',
    1 => 'OCILob::export',
  ),
  'next' => 
  array (
    0 => 'ocilob.free.php',
    1 => 'OCILob::free',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'es',
    'path' => 'reference/oci8/ocilob/flush.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="ocilob.flush" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">OCILob::flush</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8, PECL OCI8 &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">OCILob::flush</span> &mdash; <span class="dc-title">Escribe los LOB Oracle en el disco</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-ocilob.flush-description">
  <h3 class="title">Descripción</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>OCILob::flush</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$flag</code><span class="initializer"> = 0</span></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>OCILob::flush()</strong></span> escribe los datos en el servidor.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-ocilob.flush-parameters">
  <h3 class="title">Parámetros</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">flag</code></dt>
     <dd>
      <p class="para">
       Por omisión, los recursos no son liberados, pero utilizando
       la opción <code class="parameter">flag</code> con el valor
       <strong><code>OCI_LOB_BUFFER_FREE</code></strong>, puede hacerse explícitamente.
       Asegúrese de saber bien lo que hace: la próxima lectura
       o escritura en el mismo LOB requerirá entonces una petición al servidor,
       y la reasignación de recursos. Se recomienda utilizar la opción
       <strong><code>OCI_LOB_BUFFER_FREE</code></strong> únicamente si ya no se necesita el LOB.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-ocilob.flush-returnvalues">
  <h3 class="title">Valores devueltos</h3>
  <p class="para">
   Esta función retorna <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> en caso de éxito o <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> si ocurre un error.
  </p>
  <p class="para">
   Retorna <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> si la bufferización no ha sido activada,
   o si ha ocurrido un error.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-ocilob.flush-changelog">
  <h3 class="title">Historial de cambios</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Versión</th>
      <th>Descripción</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.0.0, PECL OCI8 3.0.0</td>
      <td>
       La clase <span class="classname"><strong class="classname">OCI-Lob</strong></span> ha sido renombrada a
       <span class="classname"><a href="class.ocilob.php" class="classname">OCILob</a></span> para alinearse con los estándares de nomenclatura de PHP.
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-ocilob.flush-seealso">
  <h3 class="title">Ver también</h3>
  <p class="para">
   <ul class="simplelist">
    <li><a href="ocilob.getbuffering.php" class="xref">OCILob::getBuffering</a></li>
    <li><a href="ocilob.setbuffering.php" class="xref">OCILob::setBuffering</a></li>
   </ul>
  </p>
 </div>


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