Re: [PHP] Calling parent function with call_user_func_array
- From: jochem@xxxxxxxxxxxxx (Jochem Maas)
- Date: Fri, 30 Nov 2007 00:30:40 +0100
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!
- Follow-Ups:
- Re: [PHP] Calling parent function with call_user_func_array
- From: Tommy Baggett
- Re: [PHP] Calling parent function with call_user_func_array
- References:
- RE: [PHP] Calling parent function with call_user_func_array
- From: "Tommy Baggett"
- RE: [PHP] Calling parent function with call_user_func_array
- Prev by Date: RE: [PHP] Calling parent function with call_user_func_array
- Next by Date: Re: [PHP] Join question [solved]
- Previous by thread: RE: [PHP] Calling parent function with call_user_func_array
- Next by thread: Re: [PHP] Calling parent function with call_user_func_array
- Index(es):