Re: [PHP] php5 and possible oop features/questions

2003-10-06 Thread Tit \"Black\" Petric
OP project, instead of just the ones you > > need to be loaded.. > > > > i consider spawning lots of instances of "needed" objects and using them > > from others et cetera just as bad/good as not using oop at all. you dont use > > OOP untill you acctually use classe

Re: [PHP] php5 and possible oop features/questions

2003-10-06 Thread Curt Zirzow
* Thus wrote Marek Kilimajer ([EMAIL PROTECTED]): > In this case you will benefit from the new _call() interceptor method: > > class Dynamic { > > _call($methodName, $parameters) { > /* detect what method name is to be used and get its > implementation from a fi

Re: [PHP] php5 and possible oop features/questions

2003-10-06 Thread Marek Kilimajer
; <[EMAIL PROTECTED]> To: "Tit "Black" Petric" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, October 06, 2003 7:36 PM Subject: Re: [PHP] php5 and possible oop features/questions Tit "Black" Petric wrote: will something in the likes of thi

Re: [PHP] php5 and possible oop features/questions

2003-10-06 Thread Tit \"Black\" Petric
ssage - From: "Marek Kilimajer" <[EMAIL PROTECTED]> To: "Tit "Black" Petric" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, October 06, 2003 7:36 PM Subject: Re: [PHP] php5 and possible oop features/questions > Tit "Black&quo

Re: [PHP] php5 and possible oop features/questions

2003-10-06 Thread Marek Kilimajer
Tit "Black" Petric wrote: will something in the likes of this be possible in php5? /***/ class some_classname { function some_function(); } function some_classname::some_function($prefix, $text) { return $prefix.": ".$text."\n"; } $test = new some_classname; $test->some_function("