CoreFiles by mySites.guru
view.html.php42 lines, 846 bytes, from Joomla_3.4.8-Stable-Full_Package.zip
Raw History Compare with 3.4.7
md5
5f6b7ea3fa5ab6b8ad46f9e192ee0879
sha1
f077f23068296724db64ea5304de98d2ac821265
sha256
f8f0ed8d27e0e7020ad71e657d7fcfe0da509405c6e785c21b131bdb2fe76f71
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_banners
 *
 * @copyright   Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * View class for download a list of tracks.
 *
 * @since  1.6
 */
class BannersViewDownload extends JViewLegacy
{
	protected $form;

	/**
	 * 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->form = $this->get('Form');

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

			return false;
		}

		parent::display($tpl);
	}
}

The same content is in 19 releases, Joomla 3.4.0-beta1 to 3.4.8. See them all, or every version of this file.