ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
IMSGlobal\LTI\Profile\ServiceDefinition Class Reference

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

+ Collaboration diagram for IMSGlobal\LTI\Profile\ServiceDefinition:

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 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()

IMSGlobal\LTI\Profile\ServiceDefinition::__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 IMSGlobal\LTI\Profile\ServiceDefinition\$actions, IMSGlobal\LTI\Profile\ServiceDefinition\$endpoint, IMSGlobal\LTI\Profile\ServiceDefinition\$formats, and IMSGlobal\LTI\Profile\ServiceDefinition\$id.

53  {
54 
55  $this->formats = $formats;
56  $this->actions = $actions;
57  $this->id = $id;
58  $this->endpoint = $endpoint;
59 
60  }
$formats
Media types supported by service.
$actions
HTTP actions accepted by service.

Member Function Documentation

◆ setId()

IMSGlobal\LTI\Profile\ServiceDefinition::setId (   $id)

Definition at line 62 of file ServiceDefinition.php.

References IMSGlobal\LTI\Profile\ServiceDefinition\$id.

62  {
63 
64  $this->id = $id;
65 
66  }

Field Documentation

◆ $actions

array IMSGlobal\LTI\Profile\ServiceDefinition::$actions = null

HTTP actions accepted by service.

Definition at line 29 of file ServiceDefinition.php.

Referenced by IMSGlobal\LTI\Profile\ServiceDefinition\__construct().

◆ $endpoint

string IMSGlobal\LTI\Profile\ServiceDefinition::$endpoint = null

URL for service requests.

Definition at line 41 of file ServiceDefinition.php.

Referenced by IMSGlobal\LTI\Profile\ServiceDefinition\__construct().

◆ $formats

array IMSGlobal\LTI\Profile\ServiceDefinition::$formats = null

Media types supported by service.

Definition at line 23 of file ServiceDefinition.php.

Referenced by IMSGlobal\LTI\Profile\ServiceDefinition\__construct().

◆ $id

string IMSGlobal\LTI\Profile\ServiceDefinition::$id = null

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