CoreFiles by mySites.guru
PreviewController.php37 lines, 999 bytes, from Joomla_4.2.1-rc2-Release_Candidate-Full_Package.zip
Raw History Compare with 4.2.1-rc1
md5
669608d4e735dee8a530b5c71c685f51
sha1
f3317249d67c6c8a47873a55f3cf8b1933766d7c
sha256
c5a9dc6d36615be2586cee8c34fa5698efb4cbacc5bab5cb80aa7f4d3689de6c
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_contenthistory
 *
 * @copyright   (C) 2013 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\Component\Contenthistory\Administrator\Controller;

use Joomla\CMS\MVC\Controller\BaseController;

/**
 * Contenthistory list controller class.
 *
 * @since  3.2
 */
class PreviewController extends BaseController
{
    /**
     * Proxy for getModel.
     *
     * @param   string  $name    The name of the model
     * @param   string  $prefix  The prefix for the model
     * @param   array   $config  An additional array of parameters
     *
     * @return  \Joomla\CMS\MVC\Model\BaseDatabaseModel  The model
     *
     * @since   3.2
     */
    public function getModel($name = 'Preview', $prefix = 'Administrator', $config = array('ignore_request' => true))
    {
        return parent::getModel($name, $prefix, $config);
    }
}

The same content is in 5 releases, Joomla 4.2.0-beta3 to 4.2.1-rc2. See them all, or every version of this file.