Re: ldap_search sort extension, patch included

From: Date: Wed, 21 Nov 2001 20:56:11 +0000
Subject: Re: ldap_search sort extension, patch included
References: 1  Groups: php.dev php.general 
Request: Send a blank email to php-dev+get-71309@lists.php.net to get a copy of this message
On Wed, 21 Nov 2001, Andre Oppermann wrote:

> 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?

4.0.7 will not exist, but php 4.1.0 will be released in a couple of days.
However, this addition will not be in it.

> PS: Is there a CVSWeb of the PHP sources?

cvs.php.net

Derick



Thread (11 messages)

« previous php.dev (#71309) next »