/** * Send settings to the LMS using the simple JSON approach */ public static function settingsSend($settings, $settings_url, &$debug_log = false) { $key_key = self::sessionGet('key_key'); $secret = self::sessionGet('secret'); $retval = LTI::sendJSONSettings($settings, $settings_url, $key_key, $secret, $debug_log); return $retval; }
/** * Send settings to the LMS using the simple JSON approach */ public static function settingsSend($settings, $settings_url, &$debug_log = false) { global $CFG, $PDOX, $LINK, $USER; global $LastPOXGradeResponse; $LastPOXGradeResponse = false; $key_key = self::sessionGet('key_key'); $secret = self::sessionGet('secret'); $retval = LTI::sendJSONSettings($settings, $settings_url, $key_key, $secret, $debug_log); return $retval; }