Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
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. | |
enrol_lti_get_fontawesome_icon_map () | |
Get icon mapping for font-awesome. | |
enrol_lti_pre_course_module_delete (stdClass $cm) | |
Pre-delete course module hook which disables any methods referring to the deleted module, preventing launches and allowing remap. | |
enrol_lti_verify_private_key () | |
This function checks if a private key has been generated for this enrolment instance. | |
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 | |
Variables | |
$capabilities | |
global | enrol_lti::$CFG |
global | enrol_lti\local\ltiadvantage\table::$CFG |
$plugin = 2023041800 | |
$settings = new admin_settingpage($section, "User default values", 'moodle/site:config', $this->is_enabled() === false) | |
$tasks | |
$plugin | component = 'enrol_lti' |
$plugin | dependencies |
$plugin | version = 2023042400 |
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_pre_course_module_delete | ( | stdClass | $cm | ) |
Pre-delete course module hook which disables any methods referring to the deleted module, preventing launches and allowing remap.
stdClass | $cm | The deleted course module record. |
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 |