Re: Re: Using XML_RPC with object oriented code
| From: | Sérgio Carvalho | Date: | Tue, 10 Feb 2004 16:03:31 +0000 |
| Subject: | Re: Re: Using XML_RPC with object oriented code | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-10607@lists.php.net to get a copy of this message | ||
here:
function bar(..., $fooInstance = null) { static $foo = null; if (!isnull(fooInstance)) {$foo-bar(...) should have read $foo->realBar(...) Sérgio$foo = $fooInstance;} else {$foo->bar(...);} } }