08-07-2016, 03:33 PM
The missing ampersand has nothing to do with the problem. The correct way to define the task is WITH the ampersand.
When you extend a class
you inherit all of it's methods, but if that class has defined any method as "abstract" your new class MUST implement those and they must follow the exact same profile as defined in the base class.
You can see here
https://github.com/tsolucio/corebos/blob/master/modules/com_vtiger_workflow/VTTaskManager.inc#L166
that the doTask() method gets the entity by reference so your class, which constructs upon that one has to define that method like that.
i will look into the problem you are having as soon as possible and get back to you
When you extend a class
PHP Code:
class CBTagTask extends VTTask{
you inherit all of it's methods, but if that class has defined any method as "abstract" your new class MUST implement those and they must follow the exact same profile as defined in the base class.
You can see here
https://github.com/tsolucio/corebos/blob/master/modules/com_vtiger_workflow/VTTaskManager.inc#L166
that the doTask() method gets the entity by reference so your class, which constructs upon that one has to define that method like that.
i will look into the problem you are having as soon as possible and get back to you
Joe
TSolucio
TSolucio