|
Moodle PHP Documentation 4.1
Moodle 4.1dev (Build: 20220512) (5e5e12e0)
|
Namespaces | |
| namespace | enrol_lti |
| | |
| namespace | enrol_lti\local\ltiadvantage\admin |
| | |
| namespace | enrol_lti\local\ltiadvantage\entity |
| | |
| namespace | enrol_lti\local\ltiadvantage\form |
| | |
| namespace | enrol_lti\local\ltiadvantage\lib |
| | |
| namespace | enrol_lti\local\ltiadvantage\repository |
| | |
| namespace | enrol_lti\local\ltiadvantage\service |
| | |
| namespace | enrol_lti\local\ltiadvantage\table |
| | |
| namespace | enrol_lti\local\ltiadvantage\task |
| | |
| namespace | enrol_lti\local\ltiadvantage\utility |
| | |
| namespace | enrol_lti\local\ltiadvantage\viewobject |
| | |
| namespace | enrol_lti\output |
| | |
| namespace | enrol_lti\privacy |
| | |
| namespace | enrol_lti\task |
| | |
Functions | |
| enrol_lti_extend_navigation_course ($navigation, $course, $context) | |
| Display the LTI link in the course administration menu. More... | |
| enrol_lti_get_fontawesome_icon_map () | |
| Get icon mapping for font-awesome. | |
| enrol_lti_verify_private_key () | |
| This function checks if a private key has been generated for this enrolment instance. More... | |
| xmldb_enrol_lti_install () | |
| Stub for database installation. | |
| xmldb_enrol_lti_upgrade ($oldversion) | |
| xmldb_lti_upgrade is the function that upgrades the lti module database when is needed More... | |
Variables | |
| $capabilities | |
| global | enrol_lti\local\ltiadvantage\table::$CFG |
| global | enrol_lti::$CFG |
| $plugin = 2022041200 | |
| $settings = new admin_settingpage($section, "User default values", 'moodle/site:config', $this->is_enabled() === false) | |
| $tasks | |
| $plugin | component = 'enrol_lti' |
| $plugin | dependencies |
| $plugin | version = 2022041900 |
| enrol_lti_extend_navigation_course | ( | $navigation, | |
| $course, | |||
| $context | |||
| ) |
Display the LTI link in the course administration menu.
| settings_navigation | $navigation | The settings navigation object |
| stdClass | $course | The course |
| stdclass | $context | Course context |
| enrol_lti_verify_private_key | ( | ) |
This function checks if a private key has been generated for this enrolment instance.
If the key does not exist it generates a new one. If the openssl extension is not installed or configured properly it returns a warning message.
| string | A warning message if a private key does not exist and cannot be generated. |
| xmldb_enrol_lti_upgrade | ( | $oldversion | ) |
xmldb_lti_upgrade is the function that upgrades the lti module database when is needed
This function is automaticly called when version number in version.php changes.
| int | $oldversion | New old version number. |
| boolean |
| $capabilities |
| $plugin dependencies |