| @@ -1,0 +1,37 @@ | ||
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * @package VikBooking - Libraries | |
| 4 | + * @subpackage bc (backward compatibility) | |
| 5 | + * @author E4J s.r.l. | |
| 6 | + * @copyright Copyright (C) 2018 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 | +if (!class_exists('JViewBaseVikBooking') && class_exists('JView')) | |
| 15 | +{ | |
| 16 | + /** | |
| 17 | + * Placeholder to support legacy views. | |
| 18 | + * Middle-man class that will be extended | |
| 19 | + * by the class JViewVikBooking. | |
| 20 | + * | |
| 21 | + * @since 1.2.0 | |
| 22 | + */ | |
| 23 | + class JViewBaseVikBooking extends JView | |
| 24 | + { | |
| 25 | + /* adapter for JView */ | |
| 26 | + } | |
| 27 | + | |
| 28 | + /** | |
| 29 | + * Placeholder to support legacy controllers. | |
| 30 | + * | |
| 31 | + * @since 1.0 | |
| 32 | + */ | |
| 33 | + class JControllerVikBooking extends JController | |
| 34 | + { | |
| 35 | + /* adapter for JController */ | |
| 36 | + } | |
| 37 | +} | |