svn: /pear/peardoc/trunk/en/package/networking/net-ldap2/ connect.xml filter.xml

[email protected] (Benedikt Hallinger) Thu, 21 Jul 2011 10:56:54 +0000
Newsgroups php.pear.doc
Message-ID <[email protected]>
beni                                     Thu, 21 Jul 2011 10:56:54 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=313523

Log:
* Some little documentation fixes reported by comments and bugtracker.

Changed paths:
    U   pear/peardoc/trunk/en/package/networking/net-ldap2/connect.xml
    U   pear/peardoc/trunk/en/package/networking/net-ldap2/filter.xml

Modified: pear/peardoc/trunk/en/package/networking/net-ldap2/connect.xml
===================================================================
--- pear/peardoc/trunk/en/package/networking/net-ldap2/connect.xml	2011-07-21 10:42:11 UTC (rev 313522)
+++ pear/peardoc/trunk/en/package/networking/net-ldap2/connect.xml	2011-07-21 10:56:54 UTC (rev 313523)
@@ -59,13 +59,13 @@

             <row>
             <entry><literal>binddn</literal></entry>
-            <entry>The distinguished name to bind as (username)</entry>
+            <entry>The distinguished name to bind as (username). If you don't supply this, an anonymous bind will be established.</entry>
             <entry>(none)</entry>
             </row>

             <row>
             <entry><literal>bindpw</literal></entry>
-            <entry>Password for the <literal>binddn</literal></entry>
+            <entry>Password for the <literal>binddn</literal>. If the credentials are wrong, the bind will fail server-side and an anonymous bind will be established instead.</entry>
             <entry>(none)</entry>
             </row>

@@ -105,7 +105,7 @@

         <programlisting role="php"><![CDATA[
 // Inclusion of the Net_LDAP2 package:
-require_once 'Net/LDAP.php';
+require_once 'Net/LDAP2.php';

 // The configuration array:
 $config = array (

Modified: pear/peardoc/trunk/en/package/networking/net-ldap2/filter.xml
===================================================================
--- pear/peardoc/trunk/en/package/networking/net-ldap2/filter.xml	2011-07-21 10:42:11 UTC (rev 313522)
+++ pear/peardoc/trunk/en/package/networking/net-ldap2/filter.xml	2011-07-21 10:56:54 UTC (rev 313523)
@@ -104,7 +104,7 @@
             the logical operators. Despite those, there are some other cases which need special threatment.
             Nearly all of this cases are hidden through the <classname>Net_LDAP2_Filter</classname> class so you
             should only consider using string filters if you need to or you know what you are doing.
-            If you need a filter string, you may also use <classname>Net_LDAP2_Filter</classname>s <function>toString</function>
+            If you need a filter string, you may also use <classname>Net_LDAP2_Filter</classname>s <function>asString</function>
             function after building the filter.
         </para>
         <para>
@@ -250,7 +250,7 @@
                         <tbody>
                             <row><entry><function>parse</function></entry><entry>Takes an filter string and parses it into a <classname>Net_LDAP2_Filter</classname> object. It also verifies, that the filter syntax is correct.</entry></row>
                             <row><entry><function>printMe</function></entry><entry>In PERLs interface, this method is called "print" but due to language constraints, we cannot use that name. Prints the string representation of this filter object to standard output or to an optional filehandle passed as parameter.</entry></row>
-                            <row><entry><function>toString</function></entry><entry>Returns the string representation of the filter object.</entry></row>
+                            <row><entry><function>asString</function></entry><entry>Returns the string representation of the filter object.</entry></row>
                         </tbody>
                     </tgroup>
                 </table>