function.ldap-explode-dn.html
来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 92 行
HTML
92 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Splits DN into its component parts</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-error.html">ldap_error</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.ldap-first-attribute.html">ldap_first_attribute</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-explode-dn" class="refentry"> <div class="refnamediv"> <h1 class="refname">ldap_explode_dn</h1> <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">ldap_explode_dn</span> — <span class="dc-title">Splits DN into its component parts</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_explode_dn</b></b></span> ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$dn</tt></span> , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$with_attrib</tt></span> )</div> <p class="para rdfs-comment"> Splits the DN returned by <a href="function.ldap-get-dn.html" class="function">ldap_get_dn()</a> and breaks it up into its component parts. Each part is known as Relative Distinguished Name, or RDN. </p> </div> <div class="refsect1 parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><i><tt class="parameter">dn</tt></i></span> <dd> <p class="para"> The distinguished name of an LDAP entity. </p> </dd> </dt> <dt> <span class="term"><i><tt class="parameter">with_attrib</tt></i></span> <dd> <p class="para"> Used to request if the RDNs are returned with only values or their attributes as well. To get RDNs with the attributes (i.e. in attribute=value format) set <i><tt class="parameter">with_attrib</tt></i> to 0 and to get only values set it to 1. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns an array of all DN components. </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.ldap-error.html">ldap_error</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.ldap-first-attribute.html">ldap_first_attribute</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 + =
减小字号Ctrl + -
显示快捷键?