cvs: phpdoc / global.ent /en/functions ldap.xml
| From: | Jesus M. Castagnetto | Date: | Sun, 22 Oct 2000 22:53:00 +0000 |
| Subject: | cvs: phpdoc / global.ent /en/functions ldap.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969332615@lists.php.net to get a copy of this message | ||
jmcastagnetto Sun Oct 22 15:53:00 2000 EDT
Modified files:
/phpdoc global.ent
/phpdoc/en/functions ldap.xml
Log:
Created Openldap C API entity in global.ent, fixed problems w/ missing
tags in en/functions/ldap.xml
Index: phpdoc/global.ent
diff -u phpdoc/global.ent:1.54 phpdoc/global.ent:1.55
--- phpdoc/global.ent:1.54 Tue Oct 17 03:53:15 2000
+++ phpdoc/global.ent Sun Oct 22 15:52:59 2000
@@ -1,6 +1,6 @@
<!-- -*- SGML -*-
- $Id: global.ent,v 1.54 2000/10/17 10:53:15 nmav Exp $
+ $Id: global.ent,v 1.55 2000/10/22 22:52:59 jmcastagnetto Exp $
Contains global "macros" for all the SGML documents.
@@ -58,6 +58,7 @@
<!ENTITY url.ldap.michigan "http://www.umich.edu/~dirsvcs/ldap/index.html">
<!ENTITY url.ldap.ldapworld "http://elvira.innosoft.com/ldapworld">
<!ENTITY url.ldap.openldap "http://www.openldap.org/">
+<!ENTITY url.ldap.openldap-c-api "http://www.openldap.org/devel/cvsweb.cgi/~checkout~/doc/drafts/draft-ietf-ldapext-ldap-c-api-xx.txt">
<!ENTITY url.levenshtein.demo "http://odur.let.rug.nl/~kleiweg/lev/">
<!ENTITY url.mcal "http://mcal.chek.com/">
<!ENTITY url.mcrypt "ftp://argeas.cs-net.gr/pub/unix/mcrypt/">
Index: phpdoc/en/functions/ldap.xml
diff -u phpdoc/en/functions/ldap.xml:1.17 phpdoc/en/functions/ldap.xml:1.18
--- phpdoc/en/functions/ldap.xml:1.17 Sun Oct 22 11:20:58 2000
+++ phpdoc/en/functions/ldap.xml Sun Oct 22 15:52:59 2000
@@ -225,7 +225,7 @@
attributes. In case of multiple values for an attribute, they are
indexed using integers starting with 0.
</para>
- <informalexample>
+ <informalexample>
<literallayout>
entry["attribute1"] = value
entry["attribute2"][0] = value1
@@ -359,7 +359,7 @@
// prepare data
$dn = "cn=Matti Meikku, ou=My Unit, o=My Company, c=FI";
$value = "secretpassword";
- $attr = "password";
+ $attr = "password";
// compare value
$r=ldap_compare($ds, $dn, $attr, $value);
@@ -895,7 +895,7 @@
return_value[i]["attribute"][j] = jth value of attribute in ith entry
</literallayout>
</informalexample></para>
-
+
<para>
see also <function>ldap_first_entry</function> and
<function>ldap_next_entry</function></para>
@@ -927,10 +927,12 @@
LDAP_OPT_PROTOCOL_VERSION, LDAP_OPT_ERROR_NUMBER, LDAP_OPT_REFERRALS,
LDAP_OPT_RESTART, LDAP_OPT_HOST_NAME, LDAP_OPT_ERROR_STRING,
LDAP_OPT_MATCHED_DN. These are described in
- <ulink url="http://www.openldap.org/devel/cvsweb.cgi/~checkout~/doc/drafts/draft-ietf-ldapext-ldap-c-api-xx.txt">draft-ietf-ldapext-ldap-c-api-xx.txt</ulink></para>
+ <ulink
url="&url.ldap.openldap-c-api;">draft-ietf-ldapext-ldap-c-api-xx.txt</ulink>
+ </para>
<para>This function is only available when using OpenLDAP 2.x.x, and was
added in PHP 4.0.4</para>
+ <para>
<example>
<title>Check protocol version</title>
<programlisting role="php">
@@ -940,7 +942,8 @@
else
echo "Unable to determine protocol version $version";
</programlisting>
- </example></para>
+ </example>
+ </para>
<para>
See also <function>ldap_set_option</function>.</para>
@@ -1175,11 +1178,11 @@
</funcsynopsis>
<para>
returns true on success and false on error.</para>
- <para>
- This function adds attribute(s) to the specified dn. It
- performs the modification at the attribute level as opposed to the
- object level. Object-level additions are done by the
- <function>ldap_add</function> function.</para>
+ <para>
+ This function adds attribute(s) to the specified dn. It
+ performs the modification at the attribute level as opposed to the
+ object level. Object-level additions are done by the
+ <function>ldap_add</function> function.</para>
</refsect1>
</refentry>
@@ -1200,11 +1203,11 @@
</funcsynopsis>
<para>
returns true on success and false on error.</para>
- <para>
- This function removes attribute(s) from the specified dn. It
- performs the modification at the attribute level as opposed to the
- object level. Object-level deletions are done by the
- <function>ldap_del</function> function.</para>
+ <para>
+ This function removes attribute(s) from the specified dn. It
+ performs the modification at the attribute level as opposed to the
+ object level. Object-level deletions are done by the
+ <function>ldap_del</function> function.</para>
</refsect1>
</refentry>
@@ -1225,11 +1228,11 @@
</funcsynopsis>
<para>
returns true on success and false on error.</para>
- <para>
- This function replaces attribute(s) from the specified dn. It
- performs the modification at the attribute level as opposed to the
- object level. Object-level modifications are done by the
- <function>ldap_modify</function> function.</para>
+ <para>
+ This function replaces attribute(s) from the specified dn. It
+ performs the modification at the attribute level as opposed to the
+ object level. Object-level modifications are done by the
+ <function>ldap_modify</function> function.</para>
</refsect1>
</refentry>
@@ -1346,7 +1349,7 @@
</para>
<note>
<para>
- These optional parameters were added in 4.0.2:
+ These optional parameters were added in 4.0.2:
<parameter>attrsonly</parameter>,
<parameter>sizelimit</parameter>,
<parameter>timelimit</parameter>,
@@ -1464,7 +1467,7 @@
</itemizedlist>
</para>
<para>
- These optional parameters were added in 4.0.2:
+ These optional parameters were added in 4.0.2:
<parameter>attrsonly</parameter>,
<parameter>sizelimit</parameter>,
<parameter>timelimit</parameter>,
@@ -1534,6 +1537,7 @@
<para>This function is only available when using OpenLDAP 2.x.x, and was
added in PHP 4.0.4</para>
+ <para>
<example>
<title>Set protocol version</title>
<programlisting role="php">
@@ -1543,7 +1547,8 @@
else
echo "Failed to set protocol version to 3";
</programlisting>
- </example></para>
+ </example>
+ </para>
<para>
See also <function>ldap_get_option</function>.</para>