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

Class to implement Resource Link services for a Moodle platform via its web services. More...

Inheritance diagram for MoodleApiResourceLink:

Public Member Functions

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

Additional Inherited Members

Detailed Description

Class to implement Resource Link services for a Moodle platform via its web services.

Author
Tony Butler a.but.nosp@m.ler4.nosp@m.@lanc.nosp@m.aste.nosp@m.r.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.