![]() |
LTI Integration Library
3.1.0
PHP class library for building LTI integrations
|
Class to implement Tool Consumer services for a tool consumer via its proprietary API. More...
Public Member Functions | |
| __construct ($consumer) | |
| Class constructor. More... | |
| getToolSettings ($simple=true) | |
| Get Tool Settings. More... | |
| setToolSettings ($settings=array()) | |
| Perform a Tool Settings service request. More... | |
Protected Attributes | |
| $consumer = null | |
| Tool Consumer object. More... | |
Class to implement Tool Consumer services for a tool consumer via its proprietary API.
Definition at line 13 of file ApiToolConsumer.php.
| __construct | ( | $consumer | ) |
Class constructor.
| \ceLTIc\LTI\ToolConsmumer | $consumer |
Definition at line 28 of file ApiToolConsumer.php.
References ApiToolConsumer\$consumer.
| getToolSettings | ( | $simple = true | ) |
Get Tool Settings.
| bool | $simple | True if all the simple media type is to be used (optional, default is true) |
Definition at line 40 of file ApiToolConsumer.php.
| setToolSettings | ( | $settings = array() | ) |
Perform a Tool Settings service request.
| array | $settings | An associative array of settings (optional, default is none) |
Definition at line 52 of file ApiToolConsumer.php.
|
protected |
Tool Consumer object.
Definition at line 21 of file ApiToolConsumer.php.
Referenced by ApiToolConsumer\__construct().