PluginProbe
VikBooking Hotel Booking Engine & PMS / 1.8.16
VikBooking Hotel Booking Engine & PMS v1.8.16
1.8.16 1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.6 1.8.7 1.8.8 trunk 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 All 37 releases
← All changes | admin/views/sampledata/view.html.php +48 -0 1.6.0 → 1.8.16 View file →
@@ -1,0 +1,48 @@
1 +<?php
2 +/**
3 + * @package VikBooking
4 + * @subpackage com_vikbooking
5 + * @author Alessio Gaggii - e4j - Extensionsforjoomla.com
6 + * @copyright Copyright (C) 2018 e4j - Extensionsforjoomla.com. All rights reserved.
7 + * @license GNU General Public License version 2 or later; see LICENSE
8 + * @link https://vikwp.com
9 + */
10 +
11 +defined('ABSPATH') or die('No script kiddies please!');
12 +
13 +jimport('joomla.application.component.view');
14 +
15 +/**
16 + * VikBooking Sample Data view.
17 + * @wponly
18 + *
19 + * @since 1.3.9
20 + */
21 +class VikBookingViewSampledata extends JViewVikBooking
22 +{
23 + /**
24 + * @override
25 + * View display method.
26 + *
27 + * @return void
28 + */
29 + public function display($tpl = null)
30 + {
31 + $this->addToolbar();
32 +
33 + // display parent
34 + parent::display($tpl);
35 + }
36 +
37 + /**
38 + * Helper method to setup the toolbar.
39 + *
40 + * @return void
41 + */
42 + public function addToolbar()
43 + {
44 + JToolbarHelper::title(JText::translate('VBO_SAMPLEDATA_MENU_TITLE'));
45 +
46 + JToolbarHelper::cancel('canceldash');
47 + }
48 +}