<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.rrd.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'function.rrd-first.php',
    1 => 'rrd_first',
    2 => 'Gets the timestamp of the first sample from rrd file',
  ),
  'up' => 
  array (
    0 => 'ref.rrd.php',
    1 => 'RRD Функції',
  ),
  'prev' => 
  array (
    0 => 'function.rrd-fetch.php',
    1 => 'rrd_fetch',
  ),
  'next' => 
  array (
    0 => 'function.rrd-graph.php',
    1 => 'rrd_graph',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/rrd/functions/rrd-first.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.rrd-first" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">rrd_first</h1>
  <p class="verinfo">(PECL rrd &gt;= 0.9.0)</p><p class="refpurpose"><span class="refname">rrd_first</span> &mdash; <span class="dc-title">Gets the timestamp of the first sample from rrd file</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.rrd-first-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>rrd_first</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$file</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$raaindex</code><span class="initializer"> = 0</span></span>): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

  <p class="para rdfs-comment">
   Returns the first data sample from the specified RRA of the RRD file.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.rrd-first-parameters">
  <h3 class="title">Параметри</h3>
  <dl>
   
    <dt><code class="parameter">file</code></dt>
    <dd>
     <p class="para">
      RRD database file name.
     </p>
    </dd>
   
   
    <dt><code class="parameter">raaindex</code></dt>
    <dd>
     <p class="para">
      The index number of the RRA that is to be examined. Default value is 0.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.rrd-first-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Integer number of unix timestamp, або <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> в разі помилки.
  </p>
 </div>


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