PluginProbe
Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress / 5.2.8
Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress v5.2.8
5.6.11 5.6.10 5.6.9 5.6.8 5.6.7 5.6.6 5.6.5 5.6.4 5.6.3 5.6.2 5.6.1 5.6.0 5.5.2 5.5.1 5.5.0 5.4.2 trunk 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 All 48 releases
latepoint / lib / controllers / integrations_controller.php
integrations_controller.php
43 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit; // Exit if accessed directly.
4 }
5
6
7 if ( ! class_exists( 'OsIntegrationsController' ) ) :
8
9
10 class OsIntegrationsController extends OsController {
11
12
13 function __construct() {
14 parent::__construct();
15
16 $this->views_folder = LATEPOINT_VIEWS_ABSPATH . 'integrations/';
17 $this->vars['page_header'] = OsMenuHelper::get_menu_items_by_id('integrations');
18 $this->vars['pre_page_header'] = OsMenuHelper::get_label_by_id('integrations');
19 $this->vars['breadcrumbs'][] = array('label' => __('Integrations', 'latepoint'), 'link' => OsRouterHelper::build_link(OsRouterHelper::build_route_name('integrations', 'external_calendars')));
20 }
21
22 public function external_meeting_systems() {
23 $this->vars['available_meeting_systems'] = OsMeetingSystemsHelper::get_list_of_external_meeting_systems();
24 $this->format_render(__FUNCTION__);
25 }
26
27 public function external_calendars() {
28 $this->vars['available_calendars'] = OsCalendarHelper::get_list_of_external_calendars();
29 $this->format_render(__FUNCTION__);
30 }
31
32 public function external_marketing_systems() {
33 $this->vars['available_marketing_systems'] = OsMarketingSystemsHelper::get_list_of_external_marketing_systems();
34 $this->format_render(__FUNCTION__);
35 }
36
37 public function external_short_links_systems() {
38 $this->vars['available_short_links_systems'] = OsShortLinksSystemsHelper::get_list_of_external_short_links_systems();
39 $this->format_render(__FUNCTION__);
40 }
41 }
42
43 endif;