2016-01-30 20:28:43 +00:00
|
|
|
<?php
|
2018-05-18 06:28:27 +00:00
|
|
|
/**
|
|
|
|
* @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.
|
2018-05-18 06:28:27 +00:00
|
|
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
|
|
|
*/
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
// No direct access to this file
|
|
|
|
defined('_JEXEC') or die('Restricted access');
|
|
|
|
|
2020-05-25 16:17:00 +00:00
|
|
|
use Joomla\Utilities\ArrayHelper;
|
|
|
|
|
2017-10-26 16:43:51 +00:00
|
|
|
/**
|
|
|
|
* Components_admin_views Controller
|
|
|
|
*/
|
|
|
|
class ComponentbuilderControllerComponents_admin_views extends JControllerAdmin
|
2016-01-30 20:28:43 +00:00
|
|
|
{
|
2018-08-07 12:25:26 +00:00
|
|
|
/**
|
|
|
|
* The prefix to use with controller messages.
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
* @since 1.6
|
|
|
|
*/
|
2017-10-26 16:43:51 +00:00
|
|
|
protected $text_prefix = 'COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS';
|
2018-08-07 12:25:26 +00:00
|
|
|
|
2017-10-26 16:43:51 +00:00
|
|
|
/**
|
2018-08-07 12:25:26 +00:00
|
|
|
* 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
|
2017-10-26 16:43:51 +00:00
|
|
|
*/
|
2018-08-07 12:25:26 +00:00
|
|
|
public function getModel($name = 'Component_admin_views', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
|
2016-01-30 20:28:43 +00:00
|
|
|
{
|
2018-08-07 12:25:26 +00:00
|
|
|
return parent::getModel($name, $prefix, $config);
|
2018-09-11 20:28:17 +00:00
|
|
|
}
|
2016-01-30 20:28:43 +00:00
|
|
|
}
|