Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250711) (9addea9f0ac)
enrol_lti\local\ltiadvantage\utility\message_helper Class Reference

Static Public Member Functions

static is_instructor_launch (array $jwtdata)
 Determine if the LTI roles in the launch contains any instructor or admin roles.
 

Member Function Documentation

◆ is_instructor_launch()

static enrol_lti\local\ltiadvantage\utility\message_helper::is_instructor_launch ( array $jwtdata)
static

Determine if the LTI roles in the launch contains any instructor or admin roles.

Parameters
array$jwtdataarray formatted JWT data from the launch.
Return values
booltrue if the roles contain a constructor role, false otherwise.

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