Source for file clients.php

Documentation is available at clients.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Administrator
  4.  * @subpackage  com_banners
  5.  *
  6.  * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
  7.  * @license     GNU General Public License version 2 or later; see LICENSE.txt
  8.  */
  9.  
  10. defined('_JEXEC'or die;
  11.  
  12. /**
  13.  * Clients list controller class.
  14.  *
  15.  * @package     Joomla.Administrator
  16.  * @subpackage  com_banners
  17.  * @since       1.6
  18.  */
  19. {
  20.     /**
  21.      * @var        string    The prefix to use with controller messages.
  22.      * @since   1.6
  23.      */
  24.     protected $text_prefix = 'COM_BANNERS_CLIENTS';
  25.  
  26.     /**
  27.      * Method to get a model object, loading it if required.
  28.      *
  29.      * @param   string  $name    The model name. Optional.
  30.      * @param   string  $prefix  The class prefix. Optional.
  31.      * @param   array   $config  Configuration array for model. Optional.
  32.      *
  33.      * @return  object  The model.
  34.      *
  35.      * @since   1.6
  36.      */
  37.     public function getModel($name 'Client'$prefix 'BannersModel'$config array('ignore_request' => true))
  38.     {
  39.         $model parent::getModel($name$prefix$config);
  40.         return $model;
  41.     }
  42. }

Documentation generated on Tue, 19 Nov 2013 14:55:54 +0100 by phpDocumentor 1.4.3