view.html.php
43 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 | /** |
| 15 | * VikAppointments taxes test view. |
| 16 | * |
| 17 | * @since 1.7 |
| 18 | */ |
| 19 | class VikAppointmentsViewtaxestest extends JViewVAP |
| 20 | { |
| 21 | /** |
| 22 | * VikAppointments view display method. |
| 23 | * |
| 24 | * @return void |
| 25 | */ |
| 26 | function display($tpl = null) |
| 27 | { |
| 28 | $app = JFactory::getApplication(); |
| 29 | $input = $app->input; |
| 30 | $dbo = JFactory::getDbo(); |
| 31 | |
| 32 | $args = array(); |
| 33 | $args['id_tax'] = $app->getUserState($this->getPoolName() . '.id_tax', 0); |
| 34 | $args['amount'] = $app->getUserState($this->getPoolName() . '.amount', 0); |
| 35 | $args['langtag'] = $app->getUserState($this->getPoolName() . '.langtag', null); |
| 36 | |
| 37 | $this->args = $args; |
| 38 | |
| 39 | // display the template (default.php) |
| 40 | parent::display($tpl); |
| 41 | } |
| 42 | } |
| 43 |