|
ILIAS
trunk Revision v12.0_alpha-1221-g4e438232683
|
Inheritance diagram for ILIAS\User\Profile\DatabaseDataRepository:
Collaboration diagram for ILIAS\User\Profile\DatabaseDataRepository:Public Member Functions | |
| __construct (private readonly \ilDBInterface $db, private readonly ResourceStorage $irss) | |
| getDefault () | |
| getSingle (int $id) | |
| getMultiple (array $user_ids) | |
| store (Data $user_data) | |
| deleteForFieldIdentifier (string $identifier) | |
| deleteForUser (int $usr_id) | |
| storePasswordFor (int $usr_id, string $password, string $encoding_type, ?string $salt) | |
| storeLoginFor (int $usr_id, string $login) | |
| storeLastVisitedFor (int $usr_id, array $last_visited) | |
| searchUsers (SettingsDataRepository $settings_data_repository, ProfileFieldsConfigurationRepository $profile_fields_config_repo, AutocompleteQuery $autocomplete_query) | |
| getProfileDataQuery (array $select_fields) | |
| getCountAndRecordsForQuery (DataQuery $query, int $offset, int $limit) | |
| getDefault () | |
| getSingle (int $id) | |
| getMultiple (array $user_ids) | |
| store (Data $user_data) | |
| deleteForFieldIdentifier (string $identifier) | |
| deleteForUser (int $usr_id) | |
| storePasswordFor (int $usr_id, string $password, string $encoding_type, ?string $salt) | |
| storeLoginFor (int $usr_id, string $login) | |
| storeLastVisitedFor (int $usr_id, array $last_visited) | |
| searchUsers (SettingsDataRepository $settings_data_repository, ProfileFieldsConfigurationRepository $profile_fields_config_repo, AutocompleteQuery $search_term) | |
| getProfileDataQuery (array $select_fields) | |
| getCountAndRecordsForQuery (DataQuery $query, int $offset, int $limit) | |
Data Fields | |
| const string | USER_VALUES_TABLE = 'usr_profile_data' |
Private Member Functions | |
| buildFromData (\stdClass $base_data, array $additional_data) | |
| storeAdditionalFields (Data $user_data) | |
| buildSearchUsersWhereString (ProfileFieldsConfigurationRepository $profile_fields_config_repo, AutocompleteQuery $autocomplete_query) | |
| getSearchFieldsWithAvailability (ProfileFieldsConfigurationRepository $profile_fields_config_repo, AutocompleteQuery $autocomplete_query) | |
| buildLastVisited (?string $last_visited) | |
| retrieveRecordsFromQuery (DataQuery $query) | |
Private Attributes | |
| const string | USER_BASE_TABLE = 'usr_data' |
| const string | NO_AVATAR_RID = '-' |
| const array | SEARCH_FIELDS |
Definition at line 34 of file DatabaseDataRepository.php.
| ILIAS\User\Profile\DatabaseDataRepository::__construct | ( | private readonly \ilDBInterface | $db, |
| private readonly ResourceStorage | $irss | ||
| ) |
Definition at line 49 of file DatabaseDataRepository.php.
|
private |
Definition at line 321 of file DatabaseDataRepository.php.
References $c.
Referenced by ILIAS\User\Profile\DatabaseDataRepository\getMultiple(), and ILIAS\User\Profile\DatabaseDataRepository\getSingle().
Here is the caller graph for this function:
|
private |
Definition at line 484 of file DatabaseDataRepository.php.
|
private |
Definition at line 416 of file DatabaseDataRepository.php.
| ILIAS\User\Profile\DatabaseDataRepository::deleteForFieldIdentifier | ( | string | $identifier | ) |
Implements ILIAS\User\Profile\DataRepository.
Definition at line 189 of file DatabaseDataRepository.php.
| ILIAS\User\Profile\DatabaseDataRepository::deleteForUser | ( | int | $usr_id | ) |
Implements ILIAS\User\Profile\DataRepository.
Definition at line 197 of file DatabaseDataRepository.php.
| ILIAS\User\Profile\DatabaseDataRepository::getCountAndRecordsForQuery | ( | DataQuery | $query, |
| int | $offset, | ||
| int | $limit | ||
| ) |
Implements ILIAS\User\Profile\DataRepository.
Definition at line 299 of file DatabaseDataRepository.php.
| ILIAS\User\Profile\DatabaseDataRepository::getDefault | ( | ) |
Implements ILIAS\User\Profile\DataRepository.
Definition at line 55 of file DatabaseDataRepository.php.
| ILIAS\User\Profile\DatabaseDataRepository::getMultiple | ( | array | $user_ids | ) |
| array<int> | $user_ids |
Implements ILIAS\User\Profile\DataRepository.
Definition at line 87 of file DatabaseDataRepository.php.
References ILIAS\User\Profile\DatabaseDataRepository\buildFromData(), and ilDBConstants\FETCHMODE_OBJECT.
Here is the call graph for this function:| ILIAS\User\Profile\DatabaseDataRepository::getProfileDataQuery | ( | array | $select_fields | ) |
Implements ILIAS\User\Profile\DataRepository.
Definition at line 285 of file DatabaseDataRepository.php.
|
private |
Definition at line 455 of file DatabaseDataRepository.php.
| ILIAS\User\Profile\DatabaseDataRepository::getSingle | ( | int | $id | ) |
Implements ILIAS\User\Profile\DataRepository.
Definition at line 60 of file DatabaseDataRepository.php.
References ILIAS\User\Profile\DatabaseDataRepository\buildFromData(), and ilDBConstants\FETCHMODE_OBJECT.
Here is the call graph for this function:
|
private |
Definition at line 499 of file DatabaseDataRepository.php.
References ILIAS\User\Profile\DataQuery\buildRecordsQueryString(), ILIAS\User\Profile\DataQuery\explodeArrayValues(), and ILIAS\Repository\int().
Here is the call graph for this function:| ILIAS\User\Profile\DatabaseDataRepository::searchUsers | ( | SettingsDataRepository | $settings_data_repository, |
| ProfileFieldsConfigurationRepository | $profile_fields_config_repo, | ||
| AutocompleteQuery | $autocomplete_query | ||
| ) |
Implements ILIAS\User\Profile\DataRepository.
Definition at line 251 of file DatabaseDataRepository.php.
| ILIAS\User\Profile\DatabaseDataRepository::store | ( | Data | $user_data | ) |
Implements ILIAS\User\Profile\DataRepository.
Definition at line 110 of file DatabaseDataRepository.php.
References ILIAS\User\Profile\Data\getAlias(), ILIAS\User\Profile\Data\getAvatarRid(), ILIAS\User\Profile\Data\getBirthday(), ILIAS\User\Profile\Data\getCity(), ILIAS\User\Profile\Data\getCountry(), ILIAS\User\Profile\Data\getDepartment(), ILIAS\User\Profile\Data\getEmail(), ILIAS\User\Profile\Data\getFax(), ILIAS\User\Profile\Data\getFirstname(), ILIAS\User\Profile\Data\getGender(), ILIAS\User\Profile\Data\getGeoCoordinates(), ILIAS\User\Profile\Data\getHobby(), ILIAS\User\Profile\Data\getId(), ILIAS\User\Profile\Data\getInstitution(), ILIAS\User\Profile\Data\getLastname(), ILIAS\User\Profile\Data\getMatriculation(), ILIAS\User\Profile\Data\getPhoneHome(), ILIAS\User\Profile\Data\getPhoneMobile(), ILIAS\User\Profile\Data\getPhoneOffice(), ILIAS\User\Profile\Data\getReferralComment(), ILIAS\User\Profile\Data\getSecondEmail(), ILIAS\User\Profile\Data\getStreet(), ILIAS\User\Profile\Data\getSystemInformation(), ILIAS\User\Profile\Data\getTitle(), ILIAS\User\Profile\Data\getZipcode(), ILIAS\User\Profile\DatabaseDataRepository\storeAdditionalFields(), ilDBConstants\T_DATE, ilDBConstants\T_INTEGER, ilDBConstants\T_TEXT, and ilDBConstants\T_TIMESTAMP.
Here is the call graph for this function:
|
private |
Definition at line 398 of file DatabaseDataRepository.php.
References ILIAS\User\Profile\Data\getAdditionalFieldsStorageValues().
Referenced by ILIAS\User\Profile\DatabaseDataRepository\store().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\User\Profile\DatabaseDataRepository::storeLastVisitedFor | ( | int | $usr_id, |
| array | $last_visited | ||
| ) |
Implements ILIAS\User\Profile\DataRepository.
Definition at line 234 of file DatabaseDataRepository.php.
| ILIAS\User\Profile\DatabaseDataRepository::storeLoginFor | ( | int | $usr_id, |
| string | $login | ||
| ) |
Implements ILIAS\User\Profile\DataRepository.
Definition at line 223 of file DatabaseDataRepository.php.
| ILIAS\User\Profile\DatabaseDataRepository::storePasswordFor | ( | int | $usr_id, |
| string | $password, | ||
| string | $encoding_type, | ||
| ?string | $salt | ||
| ) |
Implements ILIAS\User\Profile\DataRepository.
Definition at line 209 of file DatabaseDataRepository.php.
|
private |
Definition at line 39 of file DatabaseDataRepository.php.
|
private |
Definition at line 41 of file DatabaseDataRepository.php.
|
private |
Definition at line 36 of file DatabaseDataRepository.php.
| const string ILIAS\User\Profile\DatabaseDataRepository::USER_VALUES_TABLE = 'usr_profile_data' |
Definition at line 37 of file DatabaseDataRepository.php.