Re: [PHP] Calling parent function with call_user_func_array



Tommy Baggett wrote:
Thanks for taking the time to reply.

I'm working on a Wordpress theme and extending one of their existing
classes (the Walker class if you're familiar with WP). Since WP still
supports PHP4, my theme needs to as well.

I know WP, don't like the code too much - but you have a good reason to
be writing for php4 :-)

did my guess work?

....

does this work:?

call_user_func_array(array(parent,'doSomething'),$args);

it's an educated guess, no garantees.

}
}

Thanks in advance for any help!


.