Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 8488

php-manual-en-5.5.7-1.mga4.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>Whether this objectʼs time is before that of the passed object</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="intlcalendar.after.html">IntlCalendar::after</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intlcalendar.clear.html">IntlCalendar::clear</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.before" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">IntlCalendar::before</h1>
  <p class="verinfo">(PHP 5.5.0, PECL &gt;= 3.0.0a1)</p><p class="refpurpose"><span class="refname">IntlCalendar::before</span> &mdash; <span class="dc-title">Whether this objectʼs time is before that of the passed object</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-intlcalendar.before-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><strong>IntlCalendar::before</strong></span>
    ( <span class="methodparam"><span class="type"><a href="class.intlcalendar.html" class="type IntlCalendar">IntlCalendar</a></span> <code class="parameter">$calendar</code></span>
   )</div>

  <p class="para rdfs-comment">
   Returns whether this objectʼs time precedes the argumentʼs time.
  </p>
 </div>


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

   <dt>

    <span class="term"><em><code class="parameter">calendar</code></em></span>
    <dd>

     <p class="para">
      The calendar whose time will be checked against this objectʼs time.
     </p>
    </dd>

   </dt>

  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-intlcalendar.before-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns <strong><code>TRUE</code></strong> if this objectʼs current time is before that of the
   <em><code class="parameter">calendar</code></em> argumentʼs time. Returns <strong><code>FALSE</code></strong> otherwise.
   Also returns <strong><code>FALSE</code></strong> on failure. You can use <a href="intl.configuration.html#ini.intl.use-exceptions" class="link">exceptions</a> or
    <span class="function"><a href="function.intl-get-error-code.html" class="function">intl_get_error_code()</a></span> to detect error conditions.
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="intlcalendar.after.html">IntlCalendar::after</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intlcalendar.clear.html">IntlCalendar::clear</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>