LTI Integration Library  3.1.0
PHP class library for building LTI integrations
ServiceDefinition.php
Go to the documentation of this file.
1 <?php
2 
3 namespace ceLTIc\LTI\Profile;
4 
14 {
15 
21  public $formats = null;
22 
28  public $actions = null;
29 
35  public $id = null;
36 
42  public $endpoint = null;
43 
52  function __construct($formats, $actions, $id = null, $endpoint = null)
53  {
54  $this->formats = $formats;
55  $this->actions = $actions;
56  $this->id = $id;
57  $this->endpoint = $endpoint;
58  }
59 
60  function setId($id)
61  {
62  $this->id = $id;
63  }
64 
65 }
__construct($formats, $actions, $id=null, $endpoint=null)
Class constructor.
$actions
HTTP actions accepted by service.
$formats
Media types supported by service.
Class to represent an LTI service object.