Class to represent an LTI service object. More...
Public Member Functions | |
| __construct ($formats, $actions, $id=null, $endpoint=null) | |
| Class constructor. | |
| setId ($id) | |
| Set ID. | |
Data Fields | |
| $formats = null | |
| Media types supported by service. | |
| $actions = null | |
| HTTP actions accepted by service. | |
| $id = null | |
| ID of service. | |
| $endpoint = null | |
| URL for service requests. | |
Class to represent an LTI service object.
Definition at line 12 of file ServiceDefinition.php.
| __construct | ( | $formats, | |
| $actions, | |||
$id = null, |
|||
$endpoint = null |
|||
| ) |
Class constructor.
| array | $formats | Array of media types supported by service |
| array | $actions | Array of HTTP actions accepted by service |
| string | null | $id | ID of service (optional) |
| string | null | $endpoint | URL for service requests (optional) |
Definition at line 51 of file ServiceDefinition.php.
References ServiceDefinition\$actions, ServiceDefinition\$endpoint, ServiceDefinition\$formats, and ServiceDefinition\$id.
| setId | ( | $id | ) |
Set ID.
| string | $id | ID of service |
Definition at line 64 of file ServiceDefinition.php.
References ServiceDefinition\$id.
| array null $actions = null |
HTTP actions accepted by service.
Definition at line 27 of file ServiceDefinition.php.
Referenced by ServiceDefinition\__construct().
| string null $endpoint = null |
URL for service requests.
Definition at line 41 of file ServiceDefinition.php.
Referenced by ServiceDefinition\__construct().
| array null $formats = null |
Media types supported by service.
Definition at line 20 of file ServiceDefinition.php.
Referenced by ServiceDefinition\__construct().
| string null $id = null |
ID of service.
Definition at line 34 of file ServiceDefinition.php.
Referenced by ServiceDefinition\__construct(), and ServiceDefinition\setId().