Jump to content

How to override a custom module Class ?


ITIS MMi

Recommended Posts

Hi everyone,

I'm currently trying to override a module to adapt it to the functioning of the site.

The goal would be to override a custom class ModuleClass from this module (located in /modules/<module>/classes/ModuleClass.php) which extends ObjectModel. I tried this by putting an override file in /override/modules/<module>/classes/ModuleClass.php, the class is then named ModuleClassOverride and extends ModuleClass.

Am I doing something wrong ? Is this even possible to extend the custom class of a module ?

 

EDIT : I verified and can attest I already successfully overrode a custom class from another module, but can't figure out why this doesn't work this time ...

Edited by ITIS MMi
verification and further informations (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...