Check out the runkit extension to PHP
(http://www.php.net/manual/en/ref.runkit.php). It should let you do all
the class mucking you need to do.
jon
Jim Wilson wrote:
Dear PHP Users,
I have two questions regarding PHP 5's Reflection API (I apologize if
this
isn't the right list to ask):
1)
# [EMAIL PROTECTED] / 2007-02-09 10:46:44 -0600:
> 1) Is there a way to inject a method into a Class such that future
> instantiations of that Class will have the method?
Try runkit.
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you w
Dear PHP Users,
I have two questions regarding PHP 5's Reflection API (I apologize if this
isn't the right list to ask):
1) Is there a way to inject a method into a Class such that future
instantiations of that Class will have the method? For example:
Before ---
class A {
3 matches
Mail list logo