mirror of
https://github.com/php/doc-ja.git
synced 2026-03-24 07:02:08 +01:00
103 lines
2.8 KiB
XML
103 lines
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: fbc6f9055f47d18f8ffb30513b772a32eda1526e Maintainer: hirokawa Status: ready -->
|
|
<!-- CREDITS: takagi -->
|
|
<refentry xml:id="function.ldap-error" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>ldap_error</refname>
|
|
<refpurpose>直近の LDAP コマンドの LDAP エラーメッセージを返す</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>string</type><methodname>ldap_error</methodname>
|
|
<methodparam><type>LDAP\Connection</type><parameter>ldap</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
指定した <parameter>ldap</parameter> に関して、
|
|
直近の LDAP コマンドにより生成されたエラーを表すエラーメッセージ文字列を返します。
|
|
LDAP errno 番号は標準化されていますが、ライブラリによって異なる
|
|
(あるいはローカライズされた)エラーメッセージを返します。
|
|
エラーメッセージの内容をチェックするのではなく、
|
|
必ずエラー番号をチェックするようにしてください。
|
|
</para>
|
|
<para>
|
|
&php.ini; で警告レベルを十分に下げるか、
|
|
警告出力を抑制するために LDAP コマンドの前に <literal>@</literal>
|
|
文字をつけない限り、発生したエラーは HTML 出力にも表示されます。
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>ldap</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
&ldap.parameter.ldap;
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
エラーメッセージ文字列を返します。
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="changelog">
|
|
&reftitle.changelog;
|
|
<informaltable>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>&Version;</entry>
|
|
<entry>&Description;</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
&ldap.changelog.ldap-object;
|
|
</tbody>
|
|
</tgroup>
|
|
</informaltable>
|
|
</refsect1>
|
|
|
|
<refsect1 role="seealso">
|
|
&reftitle.seealso;
|
|
<para>
|
|
<simplelist>
|
|
<member><function>ldap_err2str</function></member>
|
|
<member><function>ldap_errno</function></member>
|
|
</simplelist>
|
|
</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
|
|
-->
|