Hi all:

I was thinking of refactoring things related to triggers. The first step I
thought was moving all the common functions to an abstract class.

I've made a GIST so that you can take a look:
https://gist.github.com/marcosgdf/2aacea869efe67c0d1cf

And so the triggers will extend from it resulting in:
https://gist.github.com/marcosgdf/64464f14f32ce3667dad

This is the first step to improve triggers handling.

What do you think about it?

Regards,


*Marcos García*

marcos...@gmail.com
_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à