Файловый менеджер - Редактировать - /home/lmsyaran/public_html/administrator/components/com_rsmembership/controllers/extras.php
Назад
<?php /** * @package RSMembership! * @copyright (c) 2009 - 2016 RSJoomla! * @link https://www.rsjoomla.com * @license GNU General Public License http://www.gnu.org/licenses/gpl-3.0.en.html */ defined('_JEXEC') or die('Restricted access'); class RSMembershipControllerExtras extends JControllerAdmin { protected $text_prefix = 'COM_RSMEMBERSHIP'; public function __construct($config = array()) { parent::__construct($config); } public function getModel($name = 'Extra', $prefix = 'RSMembershipModel', $config = array('ignore_request' => true)) { $model = parent::getModel($name, $prefix, $config); return $model; } public function saveOrderAjax() { $pks = $this->input->post->get('cid', array(), 'array'); $order = $this->input->post->get('order', array(), 'array'); // Sanitize the input $pks = array_map('intval', $pks); $order = array_map('intval', $order); // Get the model $model = $this->getModel(); // Save the ordering $return = $model->saveorder($pks, $order); if ($return) echo "1"; // Close the application JFactory::getApplication()->close(); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка