LTI Integration Library 4.10.3
PHP class library for building LTI integrations
 
Loading...
Searching...
No Matches
ServiceDefinition.php
1<?php
2
3namespace ceLTIc\LTI\Profile;
4
13{
14
20 public $formats = null;
21
27 public $actions = null;
28
34 public $id = null;
35
41 public $endpoint = null;
42
51 function __construct($formats, $actions, $id = null, $endpoint = null)
52 {
53 $this->formats = $formats;
54 $this->actions = $actions;
55 $this->id = $id;
56 $this->endpoint = $endpoint;
57 }
58
64 function setId($id)
65 {
66 $this->id = $id;
67 }
68
69}
Class to represent an LTI service object.
$actions
HTTP actions accepted by service.
$formats
Media types supported by service.
__construct($formats, $actions, $id=null, $endpoint=null)
Class constructor.