Re: [PHP] Re: PHP5: __call() implementation EXAMPLE

2004-02-05 Thread Vivian Steller
John W. Holmes wrote: > From: "Vivian Steller" <[EMAIL PROTECTED]> > >> Vivian Steller wrote: >> ... >> >> > class MyClass { >> function __call($method, $params) { >> // $params = Array(mixed var, mixed var, ...); >> print("

Re: [PHP] Re: PHP5: __call() implementation EXAMPLE

2004-02-05 Thread John W. Holmes
From: "Vivian Steller" <[EMAIL PROTECTED]> > Vivian Steller wrote: > > > Hello, > > > > as you know there is a new callback function __call($method, $params) in > > php5. the __call() method of an object is called, if the method named > > $method is not declared in this class. > > > > i want this