Example #1
0
File: LTIX.php Project: na1iu/tsugi
 /**
  * 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;
 }
Example #2
0
File: LTIX.php Project: ixtel/tsugi
 /**
  * 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;
 }