Файловый менеджер - Редактировать - /home/lmsyaran/public_html/joomla5/components/com_fabrik/views/list/view.json.php
Назад
<?php /** * @package Joomla * @subpackage Fabrik * @copyright Copyright (C) 2005-2020 Media A-Team, Inc. - All rights reserved. * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html */ // No direct access defined('_JEXEC') or die('Restricted access'); require_once JPATH_SITE . '/components/com_fabrik/views/list/view.base.php'; /** * List JSON view class * * @package Joomla * @subpackage Fabrik * @since 3.1 */ class FabrikViewlist extends FabrikViewListBase { /** * Display a json object representing the table data. * Not used for updating fabrik list, use raw view for that, here in case you want to export the data to another application * * @param string $tpl Template * * @return void */ public function display($tpl = null) { $model = $this->getModel(); $model->setId($this->app->getInput()->getInt('listid')); if (!parent::access($model)) { exit; } $data = $model->getData(); echo json_encode($data); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.37 |
proxy
|
phpinfo
|
Настройка