PluginProbe
VikBooking Hotel Booking Engine & PMS / 1.8.16
VikBooking Hotel Booking Engine & PMS v1.8.16
1.8.16 1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.6 1.8.7 1.8.8 trunk 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 All 37 releases
← All changes | admin/helpers/src/task/driveraware.php +21 -0 1.8.6 → 1.8.16 View file →
@@ -101,8 +101,29 @@
101 101
102 102 /**
103 103 * @inheritDoc
104 104 */
105 + public function onManageTask(string $position, VBOTaskTaskregistry $task, VBOTaskArea $area)
106 + {
107 + /**
108 + * Trigger event to inject custom HTML within the "taskmanager.tasks.managetask" layout.
109 + *
110 + * @param string $position The position where the output will be displayed.
111 + * @param VBOTaskTaskregistry $task The task we are updating.
112 + * @param VBOTaskArea $area The area this task belongs to.
113 + *
114 + * @return string The HTML to output.
115 + *
116 + * @since 1.18.15 (J) - 1.8.15 (WP)
117 + */
118 + $results = \VBOFactory::getPlatform()->getDispatcher()->filter('onDisplayManageTask', [$position, $task, $area]);
119 +
120 + return implode("\n", $results);
121 + }
122 +
123 + /**
124 + * @inheritDoc
125 + */
105 126 public function scheduleBookingConfirmation(VBOTaskBooking $booking)
106 127 {
107 128 // no automatic scheduling supported upon booking confirmation
108 129 }