CoreFiles by mySites.guru
view.html.php36 lines, 789 bytes, from Joomla_3.8.3-Stable-Full_Package.zip
Raw History Compare with 3.8.2
md5
dfff5f375364e7b652b7f3f9c97a9b01
sha1
9e265e0e9b22c229f33c43b11c48afce96159bb4
sha256
3acf4ef5faeda6f165c845afc3689bf1ff3a92b54a44920844c26d6d453c97e4
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_modules
 *
 * @copyright   Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

// @deprecated  4.0 not used for a long time

defined('_JEXEC') or die;

/**
 * HTML View class for the Modules component
 *
 * @since  1.6
 */
class ModulesViewPreview extends JViewLegacy
{
	/**
	 * Display the view
	 *
	 * @param   string  $tpl  The name of the template file to parse; automatically searches through the template paths.
	 *
	 * @return  void
	 */
	public function display($tpl = null)
	{
		$editor = JFactory::getConfig()->get('editor');

		$this->editor = JEditor::getInstance($editor);

		parent::display($tpl);
	}
}

The same content is in 20 releases, Joomla 3.7.3-beta1 to 3.8.3. See them all, or every version of this file.