%PDF-
%PDF-
Mini Shell
Mini Shell
<?php
/**
* @package CSVI
* @subpackage Tasks
*
* @author Roland Dalmulder <contact@csvimproved.com>
* @copyright Copyright (C) 2006 - 2016 RolandD Cyber Produksi. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
* @link http://www.csvimproved.com
*/
defined('_JEXEC') or die;
/**
* Tasks controller.
*
* @package CSVI
* @subpackage Tasks
* @since 6.0
*/
class CsviControllerTask extends JControllerForm
{
/**
* Load the available tasks.
*
* @return void.
*
* @since 6.0
*/
public function loadTasks()
{
/** @var CsviModelTask $model */
$model = $this->getModel();
$jinput = JFactory::getApplication()->input;
$action = $jinput->get('action');
$component = $jinput->get('component');
// Load the language files
$helper = new CsviHelperCsvi;
$helper->loadLanguage($component);
$operations = $model->loadTasks($action, $component);
array_unshift($operations, JText::_('COM_CSVI_MAKE_CHOICE'));
echo new JResponseJson($operations);
JFactory::getApplication()->close();
}
}
Zerion Mini Shell 1.0