LTI Integration Library 5.3.1
PHP class library for building LTI integrations
Loading...
Searching...
No Matches
CanvasApiResourceLink Class Reference

Class to implement Resource Link services for a Canvas platform via its proprietary API. More...

Inheritance diagram for CanvasApiResourceLink:

Public Member Functions

 __construct (ResourceLink $resourceLink)
 Class constructor.
array bool getMemberships (bool $withGroups)
 Get memberships.
Public Member Functions inherited from CanvasApi
bool isConfigured ()
 Check if the API hook has been configured.

Additional Inherited Members

Detailed Description

Class to implement Resource Link services for a Canvas platform via its proprietary API.

Author
Simon Booth s.p.b.nosp@m.ooth.nosp@m.@stir.nosp@m..ac..nosp@m.uk
Stephen P Vickers steph.nosp@m.en@s.nosp@m.pvsof.nosp@m.twar.nosp@m.eprod.nosp@m.ucts.nosp@m..com
Licence: http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3

Constructor & Destructor Documentation

◆ __construct()

__construct ( ResourceLink $resourceLink)

Class constructor.

Parameters
ResourceLink$resourceLink

Reimplemented from ApiResourceLink.

Member Function Documentation

◆ getMemberships()

array bool getMemberships ( bool $withGroups)

Get memberships.

Parameters
bool$withGroupsTrue is group information is to be requested as well
Returns
array|bool Array of UserResult objects or false if the request was not successful

Reimplemented from ApiResourceLink.