CoreFiles by mySites.guru
view.html.php47 lines, 1,125 bytes, from Joomla_3.8.6-Stable-Full_Package.zip
Raw History Compare with 3.8.5
md5
be9a75d9a363666f477c7f5f7dc84e47
sha1
13abb654c217917eddfc819ad89bc054cb9bb6a6
sha256
f4e27167e1d45c507eec8341e07cc494fbd5de31f4a67c0bbdee367f2b4d5ecc
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_postinstall
 *
 * @copyright   Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * Model class to display postinstall messages
 *
 * @since  3.2
 */
class PostinstallViewMessages extends FOFViewHtml
{
	/**
	 * Executes before rendering the page for the Browse task.
	 *
	 * @param   string  $tpl  Subtemplate to use
	 *
	 * @return  boolean  Return true to allow rendering of the page
	 *
	 * @since   3.2
	 */
	protected function onBrowse($tpl = null)
	{
		/** @var PostinstallModelMessages $model */
		$model = $this->getModel();

		$this->eid = (int) $model->getState('eid', '700', 'int');

		if (empty($this->eid))
		{
			$this->eid = 700;
		}

		$this->token = JFactory::getSession()->getFormToken();
		$this->extension_options = $model->getComponentOptions();

		JToolBarHelper::title(JText::sprintf('COM_POSTINSTALL_MESSAGES_TITLE', $model->getExtensionName($this->eid)));

		return parent::onBrowse($tpl);
	}
}

The same content is in 7 releases, Joomla 3.8.4-rc to 3.8.6. See them all, or every version of this file.