PluginProbe ʕ •ᴥ•ʔ
VikAppointments Services Booking Calendar / 1.2.20
VikAppointments Services Booking Calendar v1.2.20
1.2.21 1.2.20 trunk 1.2.17 1.2.18 1.2.19
vikappointments / site / views / servicesearch / tmpl / default_calendars.php
vikappointments / site / views / servicesearch / tmpl Last commit date
default.php 1 month ago default.xml 1 month ago default_calendars.php 1 month ago default_checkout.php 1 month ago default_contact.php 1 month ago default_filterbar.php 1 month ago default_login.php 1 month ago default_options.php 1 month ago default_reviews.php 1 month ago default_service.php 1 month ago default_timeline.php 1 month ago default_waitlist.php 1 month ago index.html 1 month ago
default_calendars.php
75 lines
1 <?php
2 /**
3 * @package VikAppointments
4 * @subpackage core
5 * @author E4J s.r.l.
6 * @copyright Copyright (C) 2021 E4J s.r.l. All Rights Reserved.
7 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
8 * @link https://vikwp.com
9 */
10
11 // No direct access
12 defined('ABSPATH') or die('No script kiddies please!');
13
14 $data = array(
15 /**
16 * The calendar object fetched by the view model.
17 *
18 * @var object
19 */
20 'calendar' => $this->calendar,
21
22 /**
23 * The service ID.
24 *
25 * @var integer
26 */
27 'id_service' => $this->idService,
28
29 /**
30 * The employee ID.
31 *
32 * @var integer
33 */
34 'id_employee' => $this->idEmployee,
35
36 /**
37 * The selected check-in date.
38 *
39 * @var int|null
40 */
41 'date' => $this->date,
42
43 /**
44 * The selected check-in hour.
45 *
46 * @var int|null
47 */
48 'hour' => $this->hour,
49
50 /**
51 * The selected check-in minutes.
52 *
53 * @var int|null
54 */
55 'min' => $this->min,
56 );
57
58 /**
59 * The calendar block is displayed from the layout below:
60 * /components/com_vikappointments/layouts/blocks/calendar/[NAME].php
61 * where [NAME] may vary according to the configuration of the calendar.
62 *
63 * If you need to change something from this layout, just create
64 * an override of this layout by following the instructions below:
65 * - open the back-end of your Joomla
66 * - visit the Extensions > Templates > Templates page
67 * - edit the active template
68 * - access the "Create Overrides" tab
69 * - select Layouts > com_vikappointments > blocks
70 * - start editing the calendar/[NAME].php file on your template to create your own layout
71 *
72 * @since 1.7
73 */
74 echo JLayoutHelper::render('blocks.calendar.' . $this->calendar->layout, $data);
75