LTI Tool Provider Library  3.0.2
PHP class library for building LTI Tool Providers
Message Class Reference

Class to represent a resource handler message object. More...

Public Member Functions

 __construct ($type, $path, $capabilities=array(), $variables=array(), $constants=array())
 Class constructor. More...
 

Data Fields

 $type = null
 LTI message type. More...
 
 $path = null
 Path to send message request to (used in conjunction with a base URL for the Tool Provider). More...
 
 $capabilities = null
 Capabilities required by message. More...
 
 $variables = null
 Variable parameters to accompany message request. More...
 
 $constants = null
 Fixed parameters to accompany message request. More...
 

Detailed Description

Class to represent a resource handler message object.

Author
Stephen P Vickers svick.nosp@m.ers@.nosp@m.imsgl.nosp@m.obal.nosp@m..org
Date
2016
Version
3.0.0
Licence:
http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0

Definition at line 16 of file Profile/Message.php.

Constructor & Destructor Documentation

__construct (   $type,
  $path,
  $capabilities = array(),
  $variables = array(),
  $constants = array() 
)

Class constructor.

Parameters
string$typeLTI message type
string$pathPath to send message request to
array$capabilitiesArray of capabilities required by message
array$variablesArray of variable parameters to accompany message request
array$constantsArray of fixed parameters to accompany message request

Definition at line 60 of file Profile/Message.php.

References Message\$capabilities, Message\$constants, Message\$path, Message\$type, and Message\$variables.

Field Documentation

array $capabilities = null

Capabilities required by message.

Definition at line 36 of file Profile/Message.php.

Referenced by Message\__construct().

array $constants = null

Fixed parameters to accompany message request.

Definition at line 48 of file Profile/Message.php.

Referenced by Message\__construct().

string $path = null

Path to send message request to (used in conjunction with a base URL for the Tool Provider).

Definition at line 30 of file Profile/Message.php.

Referenced by Message\__construct().

string $type = null

LTI message type.

Definition at line 24 of file Profile/Message.php.

Referenced by Message\__construct().

array $variables = null

Variable parameters to accompany message request.

Definition at line 42 of file Profile/Message.php.

Referenced by Message\__construct().


The documentation for this class was generated from the following file: