ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ServiceDefinition.php
Go to the documentation of this file.
1 <?php
2 
3 namespace IMSGlobal\LTI\Profile;
4 
16 {
17 
23  public $formats = null;
29  public $actions = null;
35  public $id = null;
41  public $endpoint = null;
42 
52  function __construct($formats, $actions, $id = null, $endpoint = null)
53  {
54 
55  $this->formats = $formats;
56  $this->actions = $actions;
57  $this->id = $id;
58  $this->endpoint = $endpoint;
59 
60  }
61 
62  function setId($id) {
63 
64  $this->id = $id;
65 
66  }
67 
68 }
__construct($formats, $actions, $id=null, $endpoint=null)
Class constructor.
Class to represent an LTI service object.
$formats
Media types supported by service.
$actions
HTTP actions accepted by service.