PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / trunk
Booking for Appointments and Events Calendar – Amelia vtrunk
2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / src / Infrastructure / WP / InstallActions / ActivationDatabaseHook.php
ameliabooking / src / Infrastructure / WP / InstallActions Last commit date
DB 2 weeks ago ActivationDatabaseHook.php 6 months ago ActivationMultisite.php 1 year ago ActivationNewSiteMultisite.php 1 month ago ActivationRolesHook.php 1 year ago ActivationSettingsHook.php 2 weeks ago AutoUpdateHook.php 1 month ago DeleteDatabaseHook.php 1 year ago DeletionMultisite.php 1 year ago
ActivationDatabaseHook.php
200 lines
1 <?php
2
3 /**
4 * Database hook for activation
5 */
6
7 namespace AmeliaBooking\Infrastructure\WP\InstallActions;
8
9 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\CategoriesTableInsertRows;
10 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\PackagesCustomersServicesTable;
11 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\PackagesCustomersTable;
12 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\PackagesServicesLocationsTable;
13 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\PackagesServicesProvidersTable;
14 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\PackagesServicesTable;
15 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\PackagesTable;
16 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\ResourcesTable;
17 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\ResourcesToEntitiesTable;
18 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\ServicesTable;
19 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\CategoriesTable;
20 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\ExtrasTable;
21 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Bookable\ServicesViewsTable;
22 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\AppointmentsTable;
23 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\CustomerBookingsTable;
24 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\CustomerBookingsToEventsPeriodsTable;
25 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\CustomerBookingToEventsTicketsTable;
26 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\CustomerBookingsToExtrasTable;
27 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\EventsPeriodsTable;
28 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\EventsProvidersTable;
29 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\EventsTable;
30 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\EventsTagsTable;
31 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Booking\EventsTicketsTable;
32 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Cache\CacheTable;
33 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Coupon\CouponsToEventsTable;
34 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Coupon\CouponsToPackagesTable;
35 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\CustomField\CustomFieldsEventsTable;
36 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\CustomField\CustomFieldsOptionsTable;
37 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\CustomField\CustomFieldsServicesTable;
38 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\CustomField\CustomFieldsTable;
39 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Gallery\GalleriesTable;
40 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Coupon\CouponsTable;
41 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Coupon\CouponsToServicesTable;
42 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Location\LocationsTable;
43 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Location\LocationsViewsTable;
44 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Notification\NotificationsLogTable;
45 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Notification\NotificationsSMSHistoryTable;
46 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Notification\NotificationsTable;
47 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Notification\NotificationsTableInsertRows;
48 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Notification\NotificationsToEntitiesTable;
49 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Payment\PaymentsTable;
50 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Tax\TaxesTable;
51 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\Tax\TaxesToEntitiesTable;
52 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersGoogleCalendarTable;
53 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersLocationTable;
54 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersOutlookCalendarTable;
55 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersPeriodLocationTable;
56 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersPeriodServiceTable;
57 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersPeriodTable;
58 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersSpecialDayPeriodLocationTable;
59 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersSpecialDayPeriodServiceTable;
60 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersSpecialDayPeriodTable;
61 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersSpecialDayTable;
62 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersViewsTable;
63 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\UsersTable;
64 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersServiceTable;
65 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersWeekDayTable;
66 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersTimeOutTable;
67 use AmeliaBooking\Infrastructure\WP\InstallActions\DB\User\Provider\ProvidersDayOffTable;
68
69 /**
70 * Class ActivationHook
71 *
72 * @package AmeliaBooking\Infrastructure\WP\InstallActions
73 */
74 class ActivationDatabaseHook
75 {
76 /**
77 * Initialize the plugin
78 */
79 public static function init()
80 {
81 UsersTable::init();
82
83 GalleriesTable::init();
84
85 CouponsTable::init();
86
87 LocationsTable::init();
88
89 NotificationsTable::init();
90
91 NotificationsTableInsertRows::init();
92
93 ProvidersDayOffTable::init();
94
95 ProvidersLocationTable::init();
96
97 ProvidersWeekDayTable::init();
98
99 ProvidersSpecialDayTable::init();
100
101 ProvidersTimeOutTable::init();
102
103 ProvidersPeriodTable::init();
104
105 ProvidersSpecialDayPeriodTable::init();
106
107 ProvidersViewsTable::init();
108
109 ProvidersGoogleCalendarTable::init();
110
111 ProvidersOutlookCalendarTable::init();
112
113 CategoriesTable::init();
114
115 CategoriesTableInsertRows::init();
116
117 ServicesTable::init();
118
119 ProvidersPeriodServiceTable::init();
120
121 ProvidersPeriodLocationTable::init();
122
123 ProvidersSpecialDayPeriodServiceTable::init();
124
125 ProvidersSpecialDayPeriodLocationTable::init();
126
127 ServicesViewsTable::init();
128
129 CouponsToServicesTable::init();
130
131 ProvidersServiceTable::init();
132
133 ExtrasTable::init();
134
135 PackagesTable::init();
136
137 PackagesServicesTable::init();
138
139 PackagesServicesProvidersTable::init();
140
141 PackagesServicesLocationsTable::init();
142
143 PackagesCustomersTable::init();
144
145 PackagesCustomersServicesTable::init();
146
147 ResourcesTable::init();
148
149 ResourcesToEntitiesTable::init();
150
151 AppointmentsTable::init();
152
153 EventsTable::init();
154
155 EventsTagsTable::init();
156
157 EventsTicketsTable::init();
158
159 EventsPeriodsTable::init();
160
161 EventsProvidersTable::init();
162
163 CouponsToEventsTable::init();
164
165 CouponsToPackagesTable::init();
166
167 CustomerBookingsTable::init();
168
169 CustomerBookingsToExtrasTable::init();
170
171 CustomerBookingsToEventsPeriodsTable::init();
172
173 CustomerBookingToEventsTicketsTable::init();
174
175 PaymentsTable::init();
176
177 LocationsViewsTable::init();
178
179 NotificationsToEntitiesTable::init();
180
181 NotificationsLogTable::init();
182
183 NotificationsSMSHistoryTable::init();
184
185 CustomFieldsTable::init();
186
187 CustomFieldsOptionsTable::init();
188
189 CustomFieldsServicesTable::init();
190
191 CustomFieldsEventsTable::init();
192
193 TaxesTable::init();
194
195 TaxesToEntitiesTable::init();
196
197 CacheTable::init();
198 }
199 }
200