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

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

How to override stock kernel classes without kernel hacking?

Author Message

kracker

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 Exponential 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