forked from joomla/Component-Builder
35 lines
1.1 KiB
PHP
35 lines
1.1 KiB
PHP
|
<?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>
|
||
|
* @copyright Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
|
||
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||
|
*/
|
||
|
|
||
|
// No direct access to this file
|
||
|
defined('_JEXEC') or die('Restricted access');
|
||
|
|
||
|
// import Joomla controlleradmin library
|
||
|
jimport('joomla.application.component.controlleradmin');
|
||
|
|
||
|
/**
|
||
|
* Admins_fields_relations Controller
|
||
|
*/
|
||
|
class ComponentbuilderControllerAdmins_fields_relations extends JControllerAdmin
|
||
|
{
|
||
|
protected $text_prefix = 'COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS';
|
||
|
/**
|
||
|
* Proxy for getModel.
|
||
|
* @since 2.5
|
||
|
*/
|
||
|
public function getModel($name = 'Admin_fields_relations', $prefix = 'ComponentbuilderModel', $config = array())
|
||
|
{
|
||
|
$model = parent::getModel($name, $prefix, array('ignore_request' => true));
|
||
|
|
||
|
return $model;
|
||
|
}
|
||
|
}
|