<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.ldap.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'function.ldap-exop-refresh.php',
    1 => 'ldap_exop_refresh',
    2 => 'Refresh 拡張操作のヘルパ',
  ),
  'up' => 
  array (
    0 => 'ref.ldap.php',
    1 => 'LDAP 関数',
  ),
  'prev' => 
  array (
    0 => 'function.ldap-exop-passwd.php',
    1 => 'ldap_exop_passwd',
  ),
  'next' => 
  array (
    0 => 'function.ldap-exop-sync.php',
    1 => 'ldap_exop_sync',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/ldap/functions/ldap-exop-refresh.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.ldap-exop-refresh" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ldap_exop_refresh</h1>
  <p class="verinfo">(PHP 7 &gt;= 7.3.0, PHP 8)</p><p class="refpurpose"><span class="refname">ldap_exop_refresh</span> &mdash; <span class="dc-title">Refresh 拡張操作のヘルパ</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ldap-exop-refresh-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>ldap_exop_refresh</strong></span>(<span class="methodparam"><span class="type"><a href="class.ldap-connection.php" class="type LDAP\Connection">LDAP\Connection</a></span> <code class="parameter">$ldap</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$dn</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$ttl</code></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Refresh 拡張オペレーションを実行し、結果を返します。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ldap-exop-refresh-parameters">
  <h3 class="title">パラメータ</h3>
  <dl>
   
    <dt><code class="parameter">ldap</code></dt>
    <dd>
     <p class="para">
       <span class="function"><a href="function.ldap-connect.php" class="function">ldap_connect()</a></span> が返す <span class="classname"><a href="class.ldap-connection.php" class="classname">LDAP\Connection</a></span> クラスのインスタンス。
     </p>
    </dd>
   
   
    <dt><code class="parameter">dn</code></dt>
    <dd>
     <p class="para">
       リフレッシュするエンティティの識別名。
     </p>
    </dd>
   
   
    <dt><code class="parameter">ttl</code></dt>
    <dd>
     <p class="para">
       自動的に削除される前にエントリがディレクトリに存在する時間を秒単位
       (1 から 31557600 の間)で指定します。
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ldap-exop-refresh-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="para">
   RFC から:
   responseTtl フィールドは、そのエントリのttlとしてサーバーが選んだ時間です。
   この値は、クライアントがリクエストした値よりも小さい値であってはいけませんが、
   大きいのは構いません。
   しかし、サーバーが比較的正確にディレクトリを維持できるようにするために、
   かつクライアントが動的な拡張を悪用できないようにするために、
   サーバーはクライアントがリクエストした ttl の値を 86400秒 (1日)
   まで短くすることを許可されています。
   エラー時には <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> が返されます。
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.ldap-exop-refresh-changelog">
  <h3 class="title">変更履歴</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>バージョン</th>
      <th>説明</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
 <td>8.1.0</td>
 <td>
  引数 <code class="parameter">ldap</code> は、<span class="classname"><a href="class.ldap-connection.php" class="classname">LDAP\Connection</a></span>
  クラスのインスタンスを期待するようになりました。
  これより前のバージョンでは、有効な <code class="literal">ldap link</code> <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> を期待していました。
 </td>
</tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-function.ldap-exop-refresh-seealso">
  <h3 class="title">参考</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.ldap-exop.php" class="function" rel="rdfs-seeAlso">ldap_exop()</a> - 拡張されたオペレーションを実行する</span></li>
   </ul>
  </p>
 </div>



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