Re[2]: [PHP] generically accessing member variables problem

2002-11-06 Thread Tom Rogers
Hi, Thursday, November 7, 2002, 3:45:34 AM, you wrote: MM> Yet, this is not a such elegant way doing it. It can be helpful in a lot MM> of cases, but most often, element key is enough. Try rethinking your MM> logic: MM> class Example { MM> var $array = array(); MM> function add

Re[2]: [PHP] generically accessing member variables problem

2002-11-06 Thread Tom Rogers
Hi, Thursday, November 7, 2002, 3:11:12 AM, you wrote: MM> You can do: ${"this->>$passed_in_array_name"} MM> not sure right now of the correct syntaxing, I never do that - normally MM> I'd pass the element key. MM> -- MM> Maxim Maletsky MM> [EMAIL PROTECTED] MM> John Kenyon <[EMAIL PROTECTE