CoreFiles by mySites.guru
DownloadSource.php59 lines, 1,003 bytes, from Joomla_3.8.3-Stable-Full_Package.zip
Raw History Compare with 3.8.2
md5
74449447d12fcaef6f9ece86aa8fee83
sha1
dcf22be78effa97c20a9b6de650744da9c12754b
sha256
497278c6cc274f15590a01478eddc7e362bfebc1d0c0c01a08222e5022664913
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Updater;

defined('JPATH_PLATFORM') or die;

/**
 * Data object representing a download source given as part of an update's `<downloads>` element
 *
 * @since  3.8.3
 */
class DownloadSource
{
	/**
	 * Defines a ZIP download package
	 *
	 * @const  string
	 * @since  3.8.3
	 */
	const FORMAT_ZIP = 'zip';

	/**
	 * Defines a full package download type
	 *
	 * @const  string
	 * @since  3.8.3
	 */
	const TYPE_FULL = 'full';

	/**
	 * The download type
	 *
	 * @var    string
	 * @since  3.8.3
	 */
	public $type = self::TYPE_FULL;

	/**
	 * The download file's format
	 *
	 * @var    string
	 * @since  3.8.3
	 */
	public $format = self::FORMAT_ZIP;

	/**
	 * The URL to retrieve the package from
	 *
	 * @var    string
	 * @since  3.8.3
	 */
	public $url;
}

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