2019-07-15 20:00:46 +00:00
|
|
|
<?php
|
2021-03-05 03:08:47 +00:00
|
|
|
/**
|
|
|
|
* @package Joomla.Component.Builder
|
|
|
|
*
|
2024-03-09 19:52:51 +00:00
|
|
|
* @created 4th September 2022
|
2022-07-09 15:45:08 +00:00
|
|
|
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
|
|
|
* @git Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder>
|
2021-03-05 03:08:47 +00:00
|
|
|
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
|
|
|
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
2024-03-09 19:52:51 +00:00
|
|
|
// No direct access to this JCB template file (EVER)
|
|
|
|
defined('_JCB_TEMPLATE') or die;
|
|
|
|
?>
|
|
|
|
###BOM###
|
|
|
|
namespace ###NAMESPACEPREFIX###\Component\###ComponentNameSpace###\Administrator\Controller;
|
|
|
|
|
|
|
|
###ADMIN_VIEWS_CONTROLLER_HEADER###
|
2021-03-05 03:08:47 +00:00
|
|
|
|
2024-03-09 19:52:51 +00:00
|
|
|
// No direct access to this file
|
|
|
|
\defined('_JEXEC') or die;
|
2021-03-05 03:08:47 +00:00
|
|
|
|
|
|
|
/**
|
2024-03-09 19:52:51 +00:00
|
|
|
* ###Views### Admin Controller
|
|
|
|
*
|
|
|
|
* @since 1.6
|
2021-03-05 03:08:47 +00:00
|
|
|
*/
|
2024-03-09 19:52:51 +00:00
|
|
|
class ###Views###Controller extends AdminController
|
2021-03-05 03:08:47 +00:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The prefix to use with controller messages.
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
* @since 1.6
|
|
|
|
*/
|
2024-03-09 19:52:51 +00:00
|
|
|
protected $text_prefix = 'COM_###COMPONENT###_###VIEWS###';
|
2021-03-05 03:08:47 +00:00
|
|
|
|
|
|
|
/**
|
2024-03-09 19:52:51 +00:00
|
|
|
* Proxy for getModel.
|
2021-03-05 03:08:47 +00:00
|
|
|
*
|
|
|
|
* @param string $name The model name. Optional.
|
|
|
|
* @param string $prefix The class prefix. Optional.
|
|
|
|
* @param array $config Configuration array for model. Optional.
|
|
|
|
*
|
2024-03-09 19:52:51 +00:00
|
|
|
* @return \Joomla\CMS\MVC\Model\BaseDatabaseModel
|
2021-03-05 03:08:47 +00:00
|
|
|
*
|
|
|
|
* @since 1.6
|
|
|
|
*/
|
2024-03-09 19:52:51 +00:00
|
|
|
public function getModel($name = '###View###', $prefix = 'Administrator', $config = ['ignore_request' => true])
|
2021-03-05 03:08:47 +00:00
|
|
|
{
|
|
|
|
return parent::getModel($name, $prefix, $config);
|
2024-03-09 19:52:51 +00:00
|
|
|
}###CONTROLLEREXIMPORTMETHOD######CUSTOM_ADMIN_DYNAMIC_BUTTONS_CONTROLLER######ADMIN_CUSTOM_BUTTONS_CONTROLLER_LIST###
|
2023-10-18 07:26:30 +00:00
|
|
|
}
|