PluginProbe
Timetics – Appointment Booking Calendar & Scheduling / 1.0.19
Timetics – Appointment Booking Calendar & Scheduling v1.0.19
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 1.0.22 1.0.23 1.0.24 All 62 releases
timetics / core / base.php

base.php in Timetics – Appointment Booking Calendar & Scheduling 1.0.19, at core/base.php

61 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Appoints base file
4 *
5 * @since 1.0.0
6 *
7 * @package Timetics
8 */
9
10 namespace Timetics\Core;
11
12 use Hooks;
13 use Timetics\Core\Appointments\ApiAppointmentTaxonomy;
14 use Timetics\Core\Appointments\Appointment;
15 use Timetics\Core\Bookings\Booking;
16 use Timetics\Core\DummyData\Api_Faker;
17 use Timetics\Core\Services\Service;
18 use Timetics\Core\Staff\Staff;
19 use Timetics\Core\Staffs\Staff as StaffsStaff;
20 use Timetics\Utils\Singleton;
21
22 /**
23 * Base Class
24 *
25 * @since 1.0.0
26 */
27 class Base {
28
29 use Singleton;
30
31 /**
32 * Initialize all modules.
33 *
34 * @since 1.0.0
35 *
36 * @return void
37 */
38 public function init() {
39 // Initialize classes.
40 Appointments\Api_Appointment::instance();
41 Staffs\Api_Staff::instance();
42 Services\Api_Service::instance();
43 Bookings\Api_Booking::instance();
44 Bookings\Hooks::instance()->init();
45 Customers\Api_Customer::instance();
46 Staffs\Hooks::instance()->init();
47 Settings\Api_Settings::instance();
48 Integrations\Auth::instance()->init();
49 Reports\Api_Report::instance();
50 Integrations\Stripe\Api_Stripe::instance();
51 Frontend\Shortcode::instance()->init();
52 EnqueueInline\Enqueue_Inline::instance()->init();
53 Admin\Hooks::instance()->init();
54 Appointments\Hooks::instance()->init();
55 Api_Faker::instance();
56 ApiAppointmentTaxonomy::instance();
57 }
58 }
59
60
61