LTI Tool Provider Library  3.0.2
PHP class library for building LTI Tool Providers
Profile/Message.php
Go to the documentation of this file.
1 <?php
2 
3 namespace IMSGlobal\LTI\Profile;
4 
16 class Message
17 {
18 
24  public $type = null;
30  public $path = null;
36  public $capabilities = null;
42  public $variables = null;
48  public $constants = null;
49 
50 
60  function __construct($type, $path, $capabilities = array(), $variables = array(), $constants = array())
61  {
62 
63  $this->type = $type;
64  $this->path = $path;
65  $this->capabilities = $capabilities;
66  $this->variables = $variables;
67  $this->constants = $constants;
68 
69  }
70 
71 }
$capabilities
Capabilities required by message.
Class to represent a resource handler message object.
$path
Path to send message request to (used in conjunction with a base URL for the Tool Provider)...
$constants
Fixed parameters to accompany message request.
$variables
Variable parameters to accompany message request.
__construct($type, $path, $capabilities=array(), $variables=array(), $constants=array())
Class constructor.