CoreFiles by mySites.guru
OAuthCallbackEvent.php91 lines, 1,381 bytes, from Joomla_4.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 3.9.0-beta4
md5
9131af499494878e481ebbdd70fb069b
sha1
74da2c970d3cb4ef899e5094f934742915ed7939
sha256
1e6ca63ba6ff281865d79abc97433a26b164660d98890da0414570dc13eef77a
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_media
 *
 * @copyright   Copyright (C) 2005 - 2020 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 5 releases, Joomla 4.0.0-beta to 4.0.0-beta5. See them all, or every version of this file.