ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
Message.php
Go to the documentation of this file.
1 <?php
2 
20 
28 class Message
29 {
35  public ?string $type = null;
36 
42  public ?string $path = null;
43 
49  public ?array $capabilities = null;
50 
56  public ?array $variables = null;
57 
63  public ?array $constants = null;
64 
73  public function __construct(string $type, string $path, array $capabilities = array(), array $variables = array(), array $constants = array())
74  {
75  $this->type = $type;
76  $this->path = $path;
77  $this->capabilities = $capabilities;
78  $this->variables = $variables;
79  $this->constants = $constants;
80  }
81 }
string $type
LTI message type.
Definition: Message.php:35
array $variables
Variable parameters to accompany message request.
Definition: Message.php:56
array $capabilities
Capabilities required by message.
Definition: Message.php:49
Class to represent a resource handler message object.
Definition: Message.php:28
array $constants
Fixed parameters to accompany message request.
Definition: Message.php:63
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Item.php:19
__construct(string $type, string $path, array $capabilities=array(), array $variables=array(), array $constants=array())
Class constructor.
Definition: Message.php:73
string $path
Path to send message request to (used in conjunction with a base URL for the Tool).
Definition: Message.php:42