Created
July 9, 2013 14:24
-
-
Save e06widu/5957729 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // No direct access to this file | |
| defined('_JEXEC') or die('Restricted access'); | |
| // import Joomla controlleradmin library | |
| jimport('joomla.application.component.controlleradmin'); | |
| /** | |
| * JoinTCM Controller | |
| */ | |
| class MyResourceListControllerRegions extends JControllerAdmin | |
| { | |
| /** | |
| * Proxy for getModel. | |
| * @since 1.6 | |
| */ | |
| public function getModel($name = 'Region', $prefix = 'RegionsModel') | |
| { | |
| $model = parent::getModel($name, $prefix, array('ignore_request' => true)); | |
| return $model; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment