Nathan Nobbe wrote:
It's fairly likely that I'd actually just use a static method here,
both your and my code use static methods. it sounds to me like you are
using the term 'static method' to mean a static method that has a variable
with a reference to an instance of the class that it is a member of. which
is obviously a particular use of a static method, and therefore a bad
practice
imho. not the technique, mind you, the label of 'static method' for the
technique.
Actually no, I mean I would *just* use a static method. If there is no
reason to instantiate an object, why would you?
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php