ILIAS  release_8 Revision v8.24
ServiceDefinition.php
Go to the documentation of this file.
1<?php
2
20
29{
35 public ?array $formats = null;
36
42 public ?array $actions = null;
43
49 public ?string $id = null;
50
56 public ?string $endpoint = null;
57
65 public function __construct(array $formats, array $actions, string $id = null, string $endpoint = null)
66 {
67 $this->formats = $formats;
68 $this->actions = $actions;
69 $this->id = $id;
70 $this->endpoint = $endpoint;
71 }
72
77 public function setId(string $id)
78 {
79 $this->id = $id;
80 }
81}
Class to represent an LTI service object.
__construct(array $formats, array $actions, string $id=null, string $endpoint=null)
Class constructor.
array $formats
Media types supported by service.
array $actions
HTTP actions accepted by service.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Item.php:19