Class to implement Resource Link services for a Canvas platform via its proprietary API. More...
Public Member Functions | |
__construct (Context $context) | |
Class constructor. | |
bool | getGroups () |
Get course group sets and groups. | |
array bool | getMemberships (bool $withGroups) |
Get memberships. | |
![]() | |
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. | |
![]() | |
bool | isConfigured () |
Check if the API hook has been configured. | |
Additional Inherited Members | |
![]() | |
Context | $context |
Context object. | |
Class to implement Resource Link services for a Canvas platform via its proprietary API.
__construct | ( | Context | $context | ) |
bool getGroups | ( | ) |
Get course group sets and groups.
Reimplemented from ApiContext.
array bool getMemberships | ( | bool | $withGroups | ) |
Get memberships.
bool | $withGroups | True is group information is to be requested as well |
Reimplemented from ApiContext.