Re: ldap_search sort extension, patch included
| From: | Andre Oppermann | Date: | Wed, 21 Nov 2001 20:47:20 +0000 |
| Subject: | Re: ldap_search sort extension, patch included | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.dev php.general |
| Request: | Send a blank email to php-dev+get-71305@lists.php.net to get a copy of this message | ||
Stig Venaas wrote:
>
> I've now added ldap_sort(), please test. After you've done
> $sr=ldap_search($ds, ...
> you simply do
> ldap_sort($ds, $sr, "cn");
> or something like that, and your results will be sorted. It returns TRUE
> on success, else FALSE. Also note that empty string "" as sort filter
> will give sorting on DN. I won't add a 4th optional compare parameter
> unless there's a real demand.
Great! I will check it out. Will this be in the upcoming PHP4.0.7?
PS: Is there a CVSWeb of the PHP sources?
--
Andre