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

Class to represent an LTI service object. More...

Public Member Functions

 __construct ($formats, $actions, $id=null, $endpoint=null)
 Class constructor. More...
 
 setId ($id)
 

Data Fields

 $formats = null
 Media types supported by service. More...
 
 $actions = null
 HTTP actions accepted by service. More...
 
 $id = null
 ID of service. More...
 
 $endpoint = null
 URL for service requests. More...
 

Detailed Description

Class to represent an LTI service 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 15 of file ServiceDefinition.php.

Constructor & Destructor Documentation

__construct (   $formats,
  $actions,
  $id = null,
  $endpoint = null 
)

Class constructor.

Parameters
array$formatsArray of media types supported by service
array$actionsArray of HTTP actions accepted by service
string$idID of service (optional)
string$endpointURL for service requests (optional)

Definition at line 52 of file ServiceDefinition.php.

References ServiceDefinition\$actions, ServiceDefinition\$endpoint, ServiceDefinition\$formats, and ServiceDefinition\$id.

Member Function Documentation

setId (   $id)

Definition at line 62 of file ServiceDefinition.php.

References ServiceDefinition\$id.

Field Documentation

array $actions = null

HTTP actions accepted by service.

Definition at line 29 of file ServiceDefinition.php.

Referenced by ServiceDefinition\__construct().

string $endpoint = null

URL for service requests.

Definition at line 41 of file ServiceDefinition.php.

Referenced by ServiceDefinition\__construct().

array $formats = null

Media types supported by service.

Definition at line 23 of file ServiceDefinition.php.

Referenced by ServiceDefinition\__construct().

string $id = null

ID of service.

Definition at line 35 of file ServiceDefinition.php.

Referenced by ServiceDefinition\__construct(), and ServiceDefinition\setId().


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