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. | |
| Public Member Functions inherited from 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 CanvasApi | |
| bool | isConfigured () |
| Check if the API hook has been configured. | |
Additional Inherited Members | |
| Protected Attributes inherited from ApiContext | |
| 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.