NYCPHP Meetup

NYPHP.org

[nycphp-talk] Callback function in a class

corey szopinski corey at domanistudios.com
Thu Jun 23 10:13:44 EDT 2005


Brilliant! That was it.

Thanks a million.

-c


On 6/22/05 7:07 PM, "Dan Cech" <dcech at phpwerx.net> wrote:

> You need:
> 
> uasort($stores,array(&$this,'sortDistance'));
> 
> You can read more about the syntax for callbacks here:
> 
> http://www.php.net/manual/en/language.pseudo-types.php#language.types.callback
> 
> Dan
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org




Corey Szopinski
Director of Technology

DOMANI STUDIOS
corey at domanistudios.com
55 Washington St. Suite 822
Brooklyn, NY 11201
718-797-4470  x116 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20050623/42b1351b/attachment.html>


More information about the talk mailing list