On Mon, 16 Dec 2002 23:56:03 +0100 Bertrand Mansion <[EMAIL PROTECTED]> wrote:
> will return 'Undefined variable: this'... The syntax foo::bar() should be used for every method callable directly (ex: a factory), without an instance of the parent object. The "$this" variable represents the object who owns the current method. If this method has been called directly, there is no object itself, neither properties. hth pierre -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php