LTI Integration Library  3.1.0
PHP class library for building LTI integrations
Profile/Message.php
Go to the documentation of this file.
1 <?php
2 
3 namespace ceLTIc\LTI\Profile;
4 
14 class Message
15 {
16 
22  public $type = null;
23 
29  public $path = null;
30 
36  public $capabilities = null;
37 
43  public $variables = null;
44 
50  public $constants = null;
51 
61  function __construct($type, $path, $capabilities = array(), $variables = array(), $constants = array())
62  {
63  $this->type = $type;
64  $this->path = $path;
65  $this->capabilities = $capabilities;
66  $this->variables = $variables;
67  $this->constants = $constants;
68  }
69 
70 }
$variables
Variable parameters to accompany message request.
$constants
Fixed parameters to accompany message request.
$capabilities
Capabilities required by message.
__construct($type, $path, $capabilities=array(), $variables=array(), $constants=array())
Class constructor.
$path
Path to send message request to (used in conjunction with a base URL for the Tool Provider).
Class to represent a resource handler message object.