Date index for Mar 2003


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

Re: [achievo] Overloading problem



Jonas Lincoln wrote:
If I want to extend the class.layout.inc, how do I do that? Since it doesn't extend the atkNode, I guess things can get hairy.

Unfortunately there's no clean way to do this at the moment. The only thing you can do is replacing the layout object stored in the global $g_layout variable with an object that's based on a class that extends the layout class. But the replacement needs to be done quite early in the process, but not *to* early else it will be overwritten by ATK. So you need to figure out when's the best time to do so (and from where, maybe you can do it in your module, but's I don't know if this is too early or too late...)


Regards,

Peter



http://www.achievo.org/lists achievo.org - ©1999-2002 ibuildings.nl BV