<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.fdf.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'function.fdf-save.php',
    1 => 'fdf_save',
    2 => 'Save a FDF document',
  ),
  'up' => 
  array (
    0 => 'ref.fdf.php',
    1 => 'Функції FDF',
  ),
  'prev' => 
  array (
    0 => 'function.fdf-remove-item.php',
    1 => 'fdf_remove_item',
  ),
  'next' => 
  array (
    0 => 'function.fdf-save-string.php',
    1 => 'fdf_save_string',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/fdf/functions/fdf-save.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.fdf-save" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">fdf_save</h1>
  <p class="verinfo">(PHP 4, PHP 5 &lt; 5.3.0, PECL fdf SVN)</p><p class="refpurpose"><span class="refname">fdf_save</span> &mdash; <span class="dc-title">Save a FDF document</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.fdf-save-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>fdf_save</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$fdf_document</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$filename</code><span class="initializer"> = ?</span></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   Saves a FDF document.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.fdf-save-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">fdf_document</code></dt>
     <dd>
      <p class="para">
       The FDF document handle, returned by <span class="function"><a href="function.fdf-create.php" class="function">fdf_create()</a></span>,
       <span class="function"><a href="function.fdf-open.php" class="function">fdf_open()</a></span> or <span class="function"><a href="function.fdf-open-string.php" class="function">fdf_open_string()</a></span>.
      </p>
     </dd>
    
    
     <dt><code class="parameter">filename</code></dt>
     <dd>
      <p class="para">
       If provided, the resulting FDF will be written in this parameter.
       Otherwise, this function will write the FDF to the default PHP output
       stream.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.fdf-save-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Повертає <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> у разі успіху або <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> в разі помилки.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.fdf-save-seealso">
  <h3 class="title">Прогляньте також</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.fdf-close.php" class="function" rel="rdfs-seeAlso">fdf_close()</a> - Close an FDF document</span></li>
    <li><span class="function"><a href="function.fdf-create.php" class="function" rel="rdfs-seeAlso">fdf_create()</a> - Create a new FDF document</span></li>
    <li><span class="function"><a href="function.fdf-save-string.php" class="function" rel="rdfs-seeAlso">fdf_save_string()</a> - Returns the FDF document as a string</span></li>
   </ul>
  </p>
 </div>


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