常用方法
常用方法
常用方法
常用方法
public static function suspend_enrolment($username, $id) { global $CFG, $DB; $params = self::validate_parameters(self::suspend_enrolment_parameters(), array('username' => $username, 'id' => $id)); $auth = new auth_plugin_joomdle(); $id = $auth->suspend_enrolment($username, $id); return $id; }