Forums / Developer / How to override stock kernel classes without kernel hacking?

How to override stock kernel classes without kernel hacking?

Author Message

kracker (the)

Friday 01 December 2006 2:52:51 am

<b>Question</b>
<i>How can one override stock kernel classes without kernel hacking?</i>

<b>Example in Question</b>

I would like to change the internals of the method 'orderStatistics' in the class file, <i>kernel/classes/ezorder.php</i>.

Yet I would rather not patch stock eZ publish each time.

//kracker
<b>Maylynne - Catch Me</b>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Kristof Coomans

Friday 01 December 2006 8:40:42 am

Hi kracker

Did you try to play with the include_path PHP ini directive? See http://www.php.net/ini.core#ini.include-path

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org