Re: [PHP] function within a class function

2010-06-21 Thread Richard Quadling
On 21 June 2010 00:45, Rick Pasotto wrote: > Within a class function I have defined another function for use with the > usort() function. How do I reference it? > > When it's not part of a class usort($arr,"cmp") works fine but when it's > within a class function I get this error: > > PHP Parse er

Re: [PHP] function within a class function

2010-06-20 Thread Rick Pasotto
On Sun, Jun 20, 2010 at 08:47:53PM -0400, Brandon Rampersad wrote: > $this->usort(); > self::usort(); > > On Sun, Jun 20, 2010 at 7:45 PM, Rick Pasotto wrote: > > > Within a class function I have defined another function for use with the > > usort() function. How do I reference it? > > > > When