cvs: peardoc /en/package/networking/net-ldap search.xml

[email protected] ("Benedikt Hallinger")
Newsgroups php.pear.doc
Message-ID <cvsbeni1199775346@cvsserver>
beni		Tue Jan  8 06:55:46 2008 UTC

  Modified files:              
    /peardoc/en/package/networking/net-ldap	search.xml 
  Log:
  * Enhanced search example, corrected example title
  
  
http://cvs.php.net/viewvc.cgi/peardoc/en/package/networking/net-ldap/search.xml?r1=1.5&r2=1.6&diff_format=u
Index: peardoc/en/package/networking/net-ldap/search.xml
diff -u peardoc/en/package/networking/net-ldap/search.xml:1.5 peardoc/en/package/networking/net-ldap/search.xml:1.6
--- peardoc/en/package/networking/net-ldap/search.xml:1.5	Tue Jul 24 07:05:08 2007
+++ peardoc/en/package/networking/net-ldap/search.xml	Tue Jan  8 06:55:46 2008
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8" ?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <refentry id="package.networking.net-ldap.search">
     <refnamediv>
         <refname>Search</refname>
@@ -115,7 +115,7 @@
         </para>
         
         <example>
-        <title>Making a search query and fetching results</title>
+        <title>Making a search query</title>
         <programlisting role="php"><![CDATA[
 // Building a very basic filter
 // we want to find all Entries whose surnames start with "Joe":
@@ -129,6 +129,8 @@
 // We search all subtrees beneath 'ou=addressbook,dc=example,dc=org'
 // and we select the attribute 'sn'. It is a good practice to limit the
 // requested attributes to only those you actually want to use later.
+// However, note that it is faster to select unneeded attributes than
+// refetching an entry later to just get those attributes.
 $options = array(
     'scope' => 'sub',
     'attributes' => array('sn')
@@ -167,4 +169,4 @@
 vim600: syn=xml fen fdm=syntax fdl=2 si
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.