⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 function.ldap-get-entries.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Get all result entries</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.ldap-get-dn.html">ldap_get_dn</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.ldap-get-option.html">ldap_get_option</a></div> <div class="up"><a href="ref.ldap.html">LDAP Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.ldap-get-entries" class="refentry"> <div class="refnamediv">  <h1 class="refname">ldap_get_entries</h1>  <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">ldap_get_entries</span> &mdash; <span class="dc-title">Get all result entries</span></p> </div>  <div class="refsect1 description">  <h3 class="title">Description</h3>  <div class="methodsynopsis dc-description">   <span class="type">array</span> <span class="methodname"><b><b>ldap_get_entries</b></b></span>    ( <span class="methodparam"><span class="type">resource</span> <tt class="parameter">$link_identifier</tt></span>   , <span class="methodparam"><span class="type">resource</span> <tt class="parameter">$result_identifier</tt></span>   )</div>  <p class="para rdfs-comment">   Reads multiple entries from the given result, and then reading the   attributes and multiple values.  </p> </div> <div class="refsect1 parameters">  <h3 class="title">Parameters</h3>  <p class="para">   <dl>    <dt>     <span class="term"><i><tt class="parameter">link_identifier</tt></i></span>     <dd>      <p class="para">       An LDAP link identifier, returned by <a href="function.ldap-connect.html" class="function">ldap_connect()</a>.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">result_identifier</tt></i></span>     <dd>      <p class="para">      </p>     </dd>    </dt>   </dl>  </p> </div> <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="para">   Returns a complete result information in a multi-dimensional array on   success and <b><tt>FALSE</tt></b> on error.  </p>  <p class="para">   The structure of the array is as follows.   The attribute index is converted to lowercase. (Attributes are   case-insensitive for directory servers, but not when used as   array indices.)   <div class="informalexample">    <div class="example-contents"><div class="cdata"><pre>return_value[&quot;count&quot;] = number of entries in the resultreturn_value[0] : refers to the details of first entryreturn_value[i][&quot;dn&quot;] =  DN of the ith entry in the resultreturn_value[i][&quot;count&quot;] = number of attributes in ith entryreturn_value[i][j] = jth attribute in the ith entry in the resultreturn_value[i][&quot;attribute&quot;][&quot;count&quot;] = number of values for                                        attribute in ith entryreturn_value[i][&quot;attribute&quot;][j] = jth value of attribute in ith entry</pre></div>    </div>   </div>  </p> </div> <div class="refsect1 seealso">  <h3 class="title">See Also</h3>  <p class="para">   <ul class="simplelist">    <li class="member"><a href="function.ldap-first-entry.html" class="function" rel="rdfs-seeAlso">ldap_first_entry()</a></li>    <li class="member"><a href="function.ldap-next-entry.html" class="function" rel="rdfs-seeAlso">ldap_next_entry()</a></li>   </ul>  </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.ldap-get-dn.html">ldap_get_dn</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.ldap-get-option.html">ldap_get_option</a></div> <div class="up"><a href="ref.ldap.html">LDAP Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -