You've already forked joomla_test
							
							
		
			
	
	
		
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
		
		
			
		
	
	
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| 
								 | 
							
								<?php
							 | 
						||
| 
								 | 
							
								/**
							 | 
						||
| 
								 | 
							
								 * @package     Joomla.Administrator
							 | 
						||
| 
								 | 
							
								 * @subpackage  com_banners
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
							 | 
						||
| 
								 | 
							
								 * @license     GNU General Public License version 2 or later; see LICENSE.txt
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								defined('_JEXEC') or die;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								/**
							 | 
						||
| 
								 | 
							
								 * Clients list controller class.
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * @package     Joomla.Administrator
							 | 
						||
| 
								 | 
							
								 * @subpackage  com_banners
							 | 
						||
| 
								 | 
							
								 * @since       1.6
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								class BannersControllerClients extends JControllerAdmin
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
									/**
							 | 
						||
| 
								 | 
							
									 * @var		string	The prefix to use with controller messages.
							 | 
						||
| 
								 | 
							
									 * @since   1.6
							 | 
						||
| 
								 | 
							
									 */
							 | 
						||
| 
								 | 
							
									protected $text_prefix = 'COM_BANNERS_CLIENTS';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									/**
							 | 
						||
| 
								 | 
							
									 * 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  object  The model.
							 | 
						||
| 
								 | 
							
									 *
							 | 
						||
| 
								 | 
							
									 * @since   1.6
							 | 
						||
| 
								 | 
							
									 */
							 | 
						||
| 
								 | 
							
									public function getModel($name = 'Client', $prefix = 'BannersModel', $config = array('ignore_request' => true))
							 | 
						||
| 
								 | 
							
									{
							 | 
						||
| 
								 | 
							
										$model = parent::getModel($name, $prefix, $config);
							 | 
						||
| 
								 | 
							
										return $model;
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
								}
							 |