PluginProbe
Timetics – Appointment Booking Calendar & Scheduling / 1.0.64
Timetics – Appointment Booking Calendar & Scheduling v1.0.64
1.0.64 1.0.62 1.0.63 1.0.61 1.0.60 1.0.59 1.0.58 1.0.57 1.0.56 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.2 1.0.20 1.0.21 All 65 releases
← All changes | core/bookings/booking-entry.php +15 -1 1.0.12 → 1.0.64 View file →
@@ -6,8 +6,10 @@
6 6 */
7 7
8 8 namespace Timetics\Core\Bookings;
9 9
10 +defined( 'ABSPATH' ) || exit;
11 +
10 12 /**
11 13 * Class Booking Entry
12 14 */
13 15 class Booking_Entry {
@@ -46,9 +48,11 @@
46 48 * @var array
47 49 */
48 50 private $data = [
49 51 'meeting_id' => '',
52 + 'event_id' => '',
50 53 'staff_id' => '',
54 + 'speaker_id' => '',
51 55 'customer_id' => '',
52 56 'booking_id' => '',
53 57 'booked' => '',
54 58 'date' => '',
@@ -91,8 +95,17 @@
91 95 * @return integer
92 96 */
93 97 public function get_meeting_id() {
94 98 return $this->get_prop( 'meeting_id' );
99 + }
100 +
101 + /**
102 + * Get event id
103 + *
104 + * @return integer
105 + */
106 + public function get_event_id() {
107 + return $this->get_prop( 'event_id' );
95 108 }
96 109
97 110 /**
98 111 * Get staff id
@@ -118,9 +131,9 @@
118 131 * @return integer
119 132 */
120 133 public function get_booking_id() {
121 134 return $this->get_prop( 'booking_id' );
122 - }
135 + }
123 136
124 137 /**
125 138 * Get booked
126 139 *
@@ -194,8 +207,9 @@
194 207 'id' => $this->get_id(),
195 208 'meeting_id' => $this->get_meeting_id(),
196 209 'staff_id' => $this->get_staff_id(),
197 210 'booking_id' => $this->get_booking_id(),
211 + 'event_id' => $this->get_event_id(),
198 212 'customer_id' => $this->get_customer_id(),
199 213 'booked' => $this->get_booked(),
200 214 'date' => $this->get_date(),
201 215 'start' => $this->get_start(),