Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
enrol_lti\local\ltiadvantage\entity\nrps_info Class Reference

Public Member Functions

 get_context_memberships_url ()
 Get the service URL for this grade service instance.
 
 get_service_scope ()
 Get the nrps service scope.
 
 get_service_versions ()
 Get the supported service versions for this grade service instance.
 

Static Public Member Functions

static create (\moodle_url $contextmembershipsurl, array $serviceversions=[self::SERVICE_VERSION_2])
 Factory method to create a new nrps_info instance.
 

Member Function Documentation

◆ create()

static enrol_lti\local\ltiadvantage\entity\nrps_info::create ( \moodle_url $contextmembershipsurl,
array $serviceversions = [self::SERVICE_VERSION_2] )
static

Factory method to create a new nrps_info instance.

Parameters
moodle_url$contextmembershipsurlthe memberships URL.
string[]$serviceversionsthe supported service versions.
Return values
nrps_infothe object instance.

◆ get_context_memberships_url()

enrol_lti\local\ltiadvantage\entity\nrps_info::get_context_memberships_url ( )

Get the service URL for this grade service instance.

Return values
moodle_urlthe service URL.

◆ get_service_scope()

enrol_lti\local\ltiadvantage\entity\nrps_info::get_service_scope ( )

Get the nrps service scope.

Return values
stringthe service scope.

◆ get_service_versions()

enrol_lti\local\ltiadvantage\entity\nrps_info::get_service_versions ( )

Get the supported service versions for this grade service instance.

Return values
string[]the array of supported service versions.

The documentation for this class was generated from the following file: