how can I extend vtiger expression to have more function in a workflow?
What I found so far is to modify core files, which get updated probably on updates of vtiger
- modules/com_vtiger_workflow/expression_engine/VTExpressionsManager.inc
- modules/com_vtiger_workflow/expression_engine/VTExpressionEvaluater.inc
so for me it is not clear what the best practice is if:
I do not want to modify the given files? e.g.
- class extending (inheritance)
- registering via database
- or other ways?
Maybe you can make a new .inc file with your code and call it from:
modules/com_vtiger_workflow/expression_engine/include.inc
Then in case that file get overwrited in an update, you only have to include again the require_once on the include.inc
No the cleanest way, but quick and easy. ;-)