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