CoreFiles by mySites.guru
view.html.php48 lines, 976 bytes, from Joomla_3.4.0-alpha-Alpha-Full_Package.zip
Raw History Compare with 3.3.6
md5
5fd603fa0825de5fb170394b83487ba7
sha1
0c31579a81d0c7006c9df1929f2d47266b0f14d3
sha256
e2e107a15fe4763abf434816080830b8d0fb38ad86748acec273de0633ea887b
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_modules
 *
 * @copyright   Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * View Module positions class.
 * 
 * @since       1.6
 */
class ModulesViewPositions extends JViewLegacy
{
	protected $items;

	protected $pagination;

	protected $state;

	/**
	 * 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)
	{
		$this->items		= $this->get('Items');
		$this->pagination	= $this->get('Pagination');
		$this->state		= $this->get('State');

		// Check for errors.
		if (count($errors = $this->get('Errors')))
		{
			JError::raiseError(500, implode("\n", $errors));

			return false;
		}

		parent::display($tpl);
	}
}

No other release has this exact content. See every version of this file.