2019-08-08 15:35:58 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @package Joomla.Component.Builder
|
|
|
|
*
|
|
|
|
* @created 30th April, 2015
|
|
|
|
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
|
|
|
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
2020-12-25 21:16:34 +00:00
|
|
|
* @copyright Copyright (C) 2015 - 2021 Vast Development Method. All rights reserved.
|
2019-08-08 15:35:58 +00:00
|
|
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
// No direct access to this file
|
|
|
|
defined('_JEXEC') or die('Restricted access');
|
|
|
|
|
2020-05-25 16:17:00 +00:00
|
|
|
use Joomla\Utilities\ArrayHelper;
|
|
|
|
|
2019-08-08 15:35:58 +00:00
|
|
|
/**
|
|
|
|
* Joomla_plugins_updates Controller
|
|
|
|
*/
|
|
|
|
class ComponentbuilderControllerJoomla_plugins_updates extends JControllerAdmin
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The prefix to use with controller messages.
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
* @since 1.6
|
|
|
|
*/
|
|
|
|
protected $text_prefix = 'COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Method to get a model object, loading it if required.
|
|
|
|
*
|
|
|
|
* @param string $name The model name. Optional.
|
|
|
|
* @param string $prefix The class prefix. Optional.
|
|
|
|
* @param array $config Configuration array for model. Optional.
|
|
|
|
*
|
|
|
|
* @return JModelLegacy The model.
|
|
|
|
*
|
|
|
|
* @since 1.6
|
|
|
|
*/
|
|
|
|
public function getModel($name = 'Joomla_plugin_updates', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
|
|
|
|
{
|
|
|
|
return parent::getModel($name, $prefix, $config);
|
|
|
|
}
|
|
|
|
}
|