CoreFiles by mySites.guru
OAuthCallbackEvent.php91 lines, 1,368 bytes, from Joomla_4.0.0-Stable-Full_Package.zip
Raw History Compare with 3.10.12
md5
d08719b88bd254874089f5b3db69f8b9
sha1
eabd7184a45c89895d19c768c220c538a567c003
sha256
9211333ae05380611d6c452a71c0139a57f262c69c3d0276062063cd24465a35
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_media
 *
 * @copyright   (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
 * @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 25 releases, Joomla 4.0.0-beta6 to 4.1.0-beta2. See them all, or every version of this file.