コード例 #1
0
 public static function multiple_suspend_enrolment($username, $courses)
 {
     global $CFG, $DB;
     $params = self::validate_parameters(self::multiple_suspend_enrolment_parameters(), array('username' => $username, 'courses' => $courses));
     $auth = new auth_plugin_joomdle();
     $id = $auth->multiple_suspend_enrolment($username, $courses);
     return $id;
 }