43 lines
1.2 KiB
PHP
43 lines
1.2 KiB
PHP
<?php
|
|
|
|
/**
|
|
* @package Joomla.Administrator
|
|
* @subpackage com_privacy
|
|
*
|
|
* @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
|
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
|
*/
|
|
|
|
namespace Joomla\Component\Privacy\Administrator\Controller;
|
|
|
|
use Joomla\CMS\MVC\Controller\AdminController;
|
|
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
|
|
|
|
// phpcs:disable PSR1.Files.SideEffects
|
|
\defined('_JEXEC') or die;
|
|
// phpcs:enable PSR1.Files.SideEffects
|
|
|
|
/**
|
|
* Requests management controller class.
|
|
*
|
|
* @since 3.9.0
|
|
*/
|
|
class RequestsController extends AdminController
|
|
{
|
|
/**
|
|
* 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 BaseDatabaseModel|boolean Model object on success; otherwise false on failure.
|
|
*
|
|
* @since 3.9.0
|
|
*/
|
|
public function getModel($name = 'Request', $prefix = 'Administrator', $config = ['ignore_request' => true])
|
|
{
|
|
return parent::getModel($name, $prefix, $config);
|
|
}
|
|
}
|