Re: How can I do this -- method chaining
| From: | Stut | Date: | Wed, 30 Jan 2008 16:30:00 +0000 |
| Subject: | Re: How can I do this -- method chaining | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268336@lists.php.net to get a copy of this message | ||
Nathan Nobbe wrote:
On Jan 30, 2008 11:21 AM, Stut <stuttle@gmail.com <mailto:stuttle@gmail.com>> wrote:
Calling a static method
does not create an instance of the class.
there you go again; calling a static method does create an instance of
the class if you call new inside of it :P
FFS, are you just trolling?
Note that I actually wrote "*just* a static method", and I stated quite clearly that it was what I would do and that the code I posted was providing what the OP wanted. If you can't see the separation then I'm done with trying to convince you.
-Stut
--
http://stut.net/