public static function my_teachers($username) { global $CFG, $DB; $params = self::validate_parameters(self::my_teachers_parameters(), array('username' => $username)); $auth = new auth_plugin_joomdle(); $return = $auth->my_teachers($username); return $return; }