CoreFiles by mySites.guru
OAuthCallbackEvent.php91 lines, 1,380 bytes, from Joomla_4.0.0-alpha5-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha3
md5
232a10ed4f92d210fa1eb26066e73428
sha1
5fabb14af71727e3fb6fc7d24e6c55d24bac6675
sha256
8db4a1862dc744132a55596101607efdacbd3ff1211d8b6d3365ea0580b6a8d4
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_media
 *
 * @copyright   Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\Component\Media\Administrator\Event;

defined('_JEXEC') or die;

use Joomla\CMS\Event\AbstractEvent;
use Joomla\Input\Input;

/**
 * Event object to retrieve OAuthCallbacks.
 *
 * @since  4.0.0
 */
class OAuthCallbackEvent extends AbstractEvent
{
	/**
	 * The event context.
	 *
	 * @var string
	 * @since  4.0.0
	 */
	private $context = null;

	/**
	 * The event input.
	 *
	 * @var \JInput
	 * @since  4.0.0
	 */
	private $input = null;

	/**
	 * Get the event context.
	 *
	 * @return string
	 *
	 * @since  4.0.0
	 */
	public function getContext()
	{
		return $this->context;
	}

	/**
	 * Set the event context.
	 *
	 * @param   string  $context  Event context
	 *
	 * @return void
	 *
	 * @since  4.0.0
	 */
	public function setContext($context)
	{
		$this->context = $context;
	}

	/**
	 * Get the event input.
	 *
	 * @return  Input
	 *
	 * @since  4.0.0
	 */
	public function getInput()
	{
		return $this->input;
	}

	/**
	 * Set the event input.
	 *
	 * @param   Input  $input  Event input
	 *
	 * @return void
	 *
	 * @since  4.0.0
	 */
	public function setInput($input)
	{
		$this->input = $input;
	}
}

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