From 9fc6cde38abdb3d652eaea37ee05e2e4aebbc6c8 Mon Sep 17 00:00:00 2001 From: Arek Solek Date: Wed, 2 Aug 2023 14:05:42 +0200 Subject: [PATCH] Creation of dynamic property in VTCreateEventTask.php --- .../tasks/VTCreateEventTask.php | 32 ++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/modules/com_vtiger_workflow/tasks/VTCreateEventTask.php b/modules/com_vtiger_workflow/tasks/VTCreateEventTask.php index a8bcbf1251e1..87d0c6fa4bf2 100644 --- a/modules/com_vtiger_workflow/tasks/VTCreateEventTask.php +++ b/modules/com_vtiger_workflow/tasks/VTCreateEventTask.php @@ -14,10 +14,40 @@ class VTCreateEventTask extends VTTask { public $executeImmediately = true; + /** @var string Event type. */ + public $eventType; + /** @var string Event name. */ + public $eventName; + /** @var string Event description. */ + public $description; + /** @var string Specifies the number of days from which the task is to be active. */ + public $startDays; + /** @var string The direction that determines the time to activate the task. */ + public $startDirection; + /** @var string Specifies the time from which the task will be activated. */ + public $startDatefield; + /** @var string Start time. */ + public $startTime; + /** @var string Specifies the number of days after which the task should be valid. */ + public $endDays; + /** @var string CDirection specifying the time to close the task. */ + public $endDirection; + /** @var string Specifies the time from which the task will be completed. */ + public $endDatefield; + /** @var string End time. */ + public $endTime; + /** @var string Task status. */ + public $status; + /** @var string Task priority. */ + public $priority; + /** @var string Task owner. */ + public $assigned_user_id; + /** @var string Meeting url. */ + public $meetingUrl; public function getFieldNames() { - return ['eventType', 'eventName', 'description', 'sendNotification', + return ['eventType', 'eventName', 'description', 'startTime', 'startDays', 'startDirection', 'startDatefield', 'endTime', 'endDays', 'endDirection', 'endDatefield', 'status', 'priority', 'assigned_user_id', 'meetingUrl'];