2017-11-11 22:18:13 +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
|
|
|
|
*/
|
2017-11-11 22:18:13 +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-11-26 00:29:08 +00:00
|
|
|
/**
|
|
|
|
* Libraries_config Controller
|
|
|
|
*/
|
|
|
|
class ComponentbuilderControllerLibraries_config extends JControllerAdmin
|
2017-11-11 22:18:13 +00:00
|
|
|
{
|
2018-08-07 12:25:26 +00:00
|
|
|
/**
|
|
|
|
* The prefix to use with controller messages.
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
* @since 1.6
|
|
|
|
*/
|
2017-11-26 00:29:08 +00:00
|
|
|
protected $text_prefix = 'COM_COMPONENTBUILDER_LIBRARIES_CONFIG';
|
2018-08-07 12:25:26 +00:00
|
|
|
|
2017-11-26 00:29:08 +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-11-26 00:29:08 +00:00
|
|
|
*/
|
2018-08-07 12:25:26 +00:00
|
|
|
public function getModel($name = 'Library_config', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
|
2017-11-11 22:18:13 +00:00
|
|
|
{
|
2018-08-07 12:25:26 +00:00
|
|
|
return parent::getModel($name, $prefix, $config);
|
2018-09-11 20:28:17 +00:00
|
|
|
}
|
2017-11-11 22:18:13 +00:00
|
|
|
}
|