ILIAS  trunk Revision v12.0_alpha-1540-g00f839d5fa1
DataRepository.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\User\Profile;
22
23use ILIAS\User\Settings\DataRepository as SettingsDataRepository;
24use ILIAS\User\Profile\Fields\ConfigurationRepository as ProfileFieldsConfigurationRepository;
26
28{
29 public function getDefault(): Data;
30 public function getSingle(int $id): Data;
35 public function getMultiple(array $user_ids): \Generator;
36 public function store(Data $user_data): void;
37 public function deleteForFieldIdentifier(string $identifier): void;
38 public function deleteForUser(int $usr_id): void;
39 public function storePasswordFor(
40 int $usr_id,
41 string $password,
42 string $encoding_type,
43 ?string $salt
44 ): void;
45 public function storeLoginFor(
46 int $usr_id,
47 string $login
48 ): void;
49 public function storeLastVisitedFor(
50 int $usr_id,
51 array $last_visited
52 ): void;
56 public function searchUsers(
57 SettingsDataRepository $settings_data_repository,
58 ProfileFieldsConfigurationRepository $profile_fields_config_repo,
59 AutocompleteQuery $search_term
60 ): array;
61 public function getProfileDataQuery(array $select_fields): DataQuery;
66 DataQuery $query,
67 int $offset,
68 int $limit
69 ): array;
70}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
This class provides some pre-processing for search terms provided by a user when searching for users.
storePasswordFor(int $usr_id, string $password, string $encoding_type, ?string $salt)
deleteForFieldIdentifier(string $identifier)
getCountAndRecordsForQuery(DataQuery $query, int $offset, int $limit)
storeLastVisitedFor(int $usr_id, array $last_visited)
storeLoginFor(int $usr_id, string $login)
getProfileDataQuery(array $select_fields)
searchUsers(SettingsDataRepository $settings_data_repository, ProfileFieldsConfigurationRepository $profile_fields_config_repo, AutocompleteQuery $search_term)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...