LTI Integration Library 5.1.4
PHP class library for building LTI integrations
 
Loading...
Searching...
No Matches
ServiceDefinition Class Reference

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

Public Member Functions

 __construct (array $formats, array $actions, ?string $id=null, ?string $endpoint=null)
 Class constructor.
 
 setId (string $id)
 Set ID.
 

Public Attributes

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

Detailed Description

Class to represent an LTI service object.

Author
Stephen P Vickers steph.nosp@m.en@s.nosp@m.pvsof.nosp@m.twar.nosp@m.eprod.nosp@m.ucts.nosp@m..com
Licence: http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3

Constructor & Destructor Documentation

◆ __construct()

__construct ( array $formats,
array $actions,
?string $id = null,
?string $endpoint = null )

Class constructor.

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

Member Function Documentation

◆ setId()

setId ( string $id)

Set ID.

Parameters
string$idID of service