Re: Re: Extending DOMNode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eli wrote:
> Jochem Maas wrote:
>> maybe the runkit extension can help - no idea how big it might explode
>> in your
>> face if you try to hack the DOM* stuff with runkit :-)
>>
>> you never stated why you want to extend all the DOM classes, maybe there
>> is a different way of achieving what you want (i.e. without going
>> through the
>> hassle of what you seem to have to do at the moment)
> 
> I want to add a common function to all nodes extended from DOMNode (e.g
> DOMElement, DOMText, DOMAttr, etc), and also keep the code maintainable
> so changing the common function will not force me to do in 10 places 

why?

[I don't want to create a global function for this].

why not?

> 
> -thanks!
> 

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux