Component-Builder/admin/controllers/components_custom_admin_menus.php

35 lines
1.1 KiB
PHP
Raw Normal View History

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>
* @copyright Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
* @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');
// import Joomla controlleradmin library
jimport('joomla.application.component.controlleradmin');
2016-01-30 20:28:43 +00:00
/**
* Components_custom_admin_menus Controller
*/
class ComponentbuilderControllerComponents_custom_admin_menus extends JControllerAdmin
2016-01-30 20:28:43 +00:00
{
protected $text_prefix = 'COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS';
/**
* Proxy for getModel.
* @since 2.5
*/
public function getModel($name = 'Component_custom_admin_menus', $prefix = 'ComponentbuilderModel', $config = array())
2016-01-30 20:28:43 +00:00
{
$model = parent::getModel($name, $prefix, array('ignore_request' => true));
return $model;
}
2016-01-30 20:28:43 +00:00
}