Tuesday 28 August 2007 6:31:53 am
Hi all, Is it possible to extend a kernel class in a custom extension ? For exemple ezOrder ? I tried to create such an extension by making a "class myOrder extend ezOrder {}". It works of course but i can't add my view to the ezShop module. I tried to add my new view to viewList() array but its not taken into consideration. It would be great if we could extend a core class inside a module and to be able to add new views to this module without having to write down a new module with custom class. This is the same topic as being able to override kernel functions (without going through the "php_include_path" technique). This would be a great help by allowing us to make small changes, or to correct wrong behavior in kernel functions without having to modify ezp sources or to wait futur releases.
EZP is Great
|