Class to implement Resource Link services for a Canvas platform via its proprietary API. More...
Inheritance diagram for ceLTIc\LTI\ApiHook\canvas\CanvasApiContext:Public Member Functions | |
| __construct (Context $context) | |
| Class constructor. | |
| bool | getGroups () |
| Get course group sets and groups. | |
| array bool | getMemberships (bool $withGroups) |
| Get memberships. | |
Public Member Functions inherited from ceLTIc\LTI\ApiHook\ApiContext | |
| bool | isConfigured () |
| Check if the API hook has been configured. | |
| array bool | getToolSettings (?ToolSettingsMode $mode=null, bool $simple=true) |
| Get Tool Settings. | |
| bool | setToolSettings (array $settings=[]) |
| Perform a Tool Settings service request. | |
Public Member Functions inherited from ceLTIc\LTI\ApiHook\canvas\CanvasApi | |
| bool | isConfigured () |
| Check if the API hook has been configured. | |
Additional Inherited Members | |
Protected Attributes inherited from ceLTIc\LTI\ApiHook\ApiContext | |
| Context | $context |
| Context object. | |
Class to implement Resource Link services for a Canvas platform via its proprietary API.
| ceLTIc\LTI\ApiHook\canvas\CanvasApiContext::__construct | ( | Context | $context | ) |
| bool ceLTIc\LTI\ApiHook\canvas\CanvasApiContext::getGroups | ( | ) |
Get course group sets and groups.
Reimplemented from ceLTIc\LTI\ApiHook\ApiContext.
| array bool ceLTIc\LTI\ApiHook\canvas\CanvasApiContext::getMemberships | ( | bool | $withGroups | ) |
Get memberships.
| bool | $withGroups | True is group information is to be requested as well |
Reimplemented from ceLTIc\LTI\ApiHook\ApiContext.