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,
olinux
Hmm, 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...


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to