Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 8937

php-manual-en-7.2.11-1.mga7.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Get the global minimum value for a field</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="intlcalendar.getminimaldaysinfirstweek.html">IntlCalendar::getMinimalDaysInFirstWeek</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intlcalendar.getnow.html">IntlCalendar::getNow</a></div>
 <div class="up"><a href="class.intlcalendar.html">IntlCalendar</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="intlcalendar.getminimum" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">IntlCalendar::getMinimum</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.5.0, PHP 7, PECL &gt;= 3.0.0a1)</p><p class="refpurpose"><span class="refname">IntlCalendar::getMinimum</span> &mdash; <span class="dc-title">Get the global minimum value for a field</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-intlcalendar.getminimum-description">
  <h3 class="title">Description</h3>
  <p class="para">
   Object oriented style
  </p>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">int</span> <span class="methodname"><strong>IntlCalendar::getMinimum</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$field</code></span>
   )</div>

  <p class="para rdfs-comment">
   Procedural style
  </p>
  <div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><strong>intlcal_get_minimum</strong></span>
    ( <span class="methodparam"><span class="type"><a href="class.intlcalendar.html" class="type IntlCalendar">IntlCalendar</a></span> <code class="parameter">$cal</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$field</code></span>
   )</div>

  <p class="para rdfs-comment">
   Gets the global minimum for a field, in this specific calendar. This value
   is smaller or equal to that returned by
   <span class="function"><a href="intlcalendar.getactualminimum.html" class="function">IntlCalendar::getActualMinimum()</a></span>, which is in its turn
   smaller or equal to that returned by
   <span class="function"><a href="intlcalendar.getgreatestminimum.html" class="function">IntlCalendar::getGreatestMinimum()</a></span>. For the Gregorian
   calendar, these three functions always return the same value (for each
   field).
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-intlcalendar.getminimum-parameters">
  <h3 class="title">Parameters</h3>
  <dl>

   
    <dt>
<code class="parameter">cal</code></dt>

    <dd>

     <p class="para">
      The IntlCalendar resource.
     </p>
    </dd>

   
   
    <dt>
<code class="parameter">field</code></dt>

    <dd>

     

<p class="para">
 One of the <a href="class.intlcalendar.html" class="classname">IntlCalendar</a> date/time <a href="class.intlcalendar.html#intlcalendar.constants" class="link">field constants</a>. These are integer
 values between <em>0</em> and
 <strong><code>IntlCalendar::FIELD_COUNT</code></strong>.
</p>

    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-intlcalendar.getminimum-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   An <span class="type"><a href="language.types.integer.html" class="type int">int</a></span> representing a value for the given
   field in the fieldʼs unit or <strong><code>FALSE</code></strong> on failure.
  </p>
 </div>



</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="intlcalendar.getminimaldaysinfirstweek.html">IntlCalendar::getMinimalDaysInFirstWeek</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intlcalendar.getnow.html">IntlCalendar::getNow</a></div>
 <div class="up"><a href="class.intlcalendar.html">IntlCalendar</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>