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