Re: Class methods for custom functions

From: Date: Wed, 05 Dec 2001 16:08:33 +0000
Subject: Re: Class methods for custom functions
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2144@lists.php.net to get a copy of this message
On Wed, 05 Dec 2001, Ivo Jansch wrote: > Why not only allow the use of static members? Then you don't need an > instance, and doing $objname::$method would suffice. > > On the other hand, suppose I want to call an object method for a certain > tag. Then I would be responsible for creating this object. The $obj > would then already be available and need not bee serialized. What do you mean? I couldn't quite understand this sentence. -Andrei Nobody tried to design Windows - it just grew in random directions without any kind of thought behind it.

« previous php.smarty.general (#2144) next »