Re: Net_Geo and PEAR Cache

From: Date: Fri, 12 Apr 2002 09:00:39 +0000
Subject: Re: Net_Geo and PEAR Cache
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-5391@lists.php.net to get a copy of this message
Graeme Merrall wrote: >I have to send $this->_execute to the cache class which obviously gets >interpreted as $this cache code so it looks for a function it's own >class for the function, can't find it and dies. I've found a workaround of this problem, see this: $cache = new Cache_Function([...params...]); $GLOBALS['_a_little_hack'] =& $this; $res = &$cache->call('_a_little_hack->_myfunction', [...params...]);

« previous php.pear.dev (#5391) next »