class LtiToolProviderReturnEvent in LTI Tool Provider 8
Same name and namespace in other branches
- 2.x src/Event/LtiToolProviderReturnEvent.php \Drupal\lti_tool_provider\Event\LtiToolProviderReturnEvent
Hierarchy
- class \Drupal\lti_tool_provider\LtiToolProviderEvent extends \Symfony\Component\EventDispatcher\Event
- class \Drupal\lti_tool_provider\Event\LtiToolProviderReturnEvent
Expanded class hierarchy of LtiToolProviderReturnEvent
1 file declares its use of LtiToolProviderReturnEvent
- LTIToolProviderController.php in src/
Controller/ LTIToolProviderController.php
File
- src/
Event/ LtiToolProviderReturnEvent.php, line 7
Namespace
Drupal\lti_tool_provider\EventView source
class LtiToolProviderReturnEvent extends LtiToolProviderEvent {
const EVENT_NAME = 'LTI_TOOL_PROVIDER_RETURN_EVENT';
/**
* @var array
*/
private $context;
/**
* @var string
*/
private $destination;
/**
* LtiToolProviderReturnEvent constructor.
* @param array $context
* @param string $destination
*/
public function __construct(array $context, string $destination) {
$this
->setContext($context);
$this
->setDestination($destination);
}
/**
* @return array
*/
public function getContext() : array {
return $this->context;
}
/**
* @param array $context
*/
public function setContext(array $context) {
$this->context = $context;
}
/**
* @return string
*/
public function getDestination() : string {
return $this->destination;
}
/**
* @param string $destination
*/
public function setDestination(string $destination) : void {
$this->destination = $destination;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LtiToolProviderEvent:: |
private | property | ||
LtiToolProviderEvent:: |
private | property | ||
LtiToolProviderEvent:: |
public | function | ||
LtiToolProviderEvent:: |
static | function | Dispatch an LTI Tool Provider event. | |
LtiToolProviderEvent:: |
public | function | ||
LtiToolProviderEvent:: |
public | function | ||
LtiToolProviderEvent:: |
public | function | Send an error back to the LMS. | |
LtiToolProviderReturnEvent:: |
private | property | ||
LtiToolProviderReturnEvent:: |
private | property | ||
LtiToolProviderReturnEvent:: |
constant |
Overrides LtiToolProviderEvent:: |
||
LtiToolProviderReturnEvent:: |
public | function | ||
LtiToolProviderReturnEvent:: |
public | function | ||
LtiToolProviderReturnEvent:: |
public | function | ||
LtiToolProviderReturnEvent:: |
public | function | ||
LtiToolProviderReturnEvent:: |
public | function | LtiToolProviderReturnEvent constructor. |