mirror of
https://github.com/php/doc-ja.git
synced 2026-04-26 09:28:10 +02:00
e70a9d4629
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351156 c90b9560-bf6c-de11-be94-00142212c4b1
83 lines
2.6 KiB
XML
83 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: hirokawa Status: ready -->
|
|
<refentry xml:id="function.ldap-explode-dn" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>ldap_explode_dn</refname>
|
|
<refpurpose>DN を構成要素ごとに分割する</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type class="union"><type>array</type><type>false</type></type><methodname>ldap_explode_dn</methodname>
|
|
<methodparam><type>string</type><parameter>dn</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>with_attrib</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>ldap_get_dn</function> により返された DN を分割し、
|
|
複数の要素に分けます。各部分は、相対区分名 (Relative
|
|
Distinguished Name または RDN) と呼ばれます。
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>dn</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
LDAP エンティティの識別名。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>with_attrib</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
RDN が値のみを返すのか、
|
|
あるいは、属性を同時に返すのかを指定するために使用します。
|
|
属性を有する RDN (属性=値 フォーマットで) を得るためには
|
|
<parameter>with_attrib</parameter> を 0 とし、
|
|
値のみを得るためには 1 に設定します。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
すべての DN 要素を配列で返します。&return.falseforfailure;。
|
|
この配列の最初の要素のキーは <literal>count</literal> で、
|
|
これは返される値の数を表します。次の要素は、DN の数値添字配列となります。
|
|
</para>
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|