Ejemplo n.º 1
0
Archivo: LTIX.php Proyecto: 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;
 }
Ejemplo n.º 2
0
Archivo: LTIX.php Proyecto: 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;
 }