Jump to content

Edit History

ITIS MMi

ITIS MMi


verification and further informations

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

ITIS MMi

ITIS MMi

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 ?

×
×
  • Create New...