Re: OOP for Web Programming Paradigm
| From: | Victor | Date: | Mon, 13 Jan 2003 01:21:26 +0000 |
| Subject: | Re: OOP for Web Programming Paradigm | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131381@lists.php.net to get a copy of this message | ||
olinux wrote:
I'm no OOP programmer but maybe extend your class to include methods for each situation. something like this: function countSingle($cid) function countMulti($cidArray) function countAll() HTH, olinuxHmm, yes, that's an interesting idea. Except perhaps include the first arg as a by-refrence return variable, so that func can return true false. Yeah, I think that's not bad. Still, would have to have static accessors, but oh well...