| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Inheritance diagram for ILIAS\User\Profile\ChangeMailTokenDBRepository:
 Collaboration diagram for ILIAS\User\Profile\ChangeMailTokenDBRepository:Public Member Functions | |
| __construct (private readonly \ilDBInterface $db, private readonly \ilSetting $settings) | |
| getNewTokenForUser (\ilObjUser $user, string $new_email, int $now) | |
| hasUserValidEmailConfirmationToken (\ilObjUser $user) | |
| getTokenForTokenString (string $token_string, \ilObjUser $user) | |
| This Function will check if the token is actually valid for the given user before returning the new email.  More... | |
| moveToNextStep (ChangeMailToken $token, int $now) | |
| deleteEntryByToken (string $token) | |
| deleteExpiredEntries () | |
Data Fields | |
| const | TABLE_NAME = 'usr_change_email_token' | 
Private Member Functions | |
| storeChangeMailToken (ChangeMailToken $token) | |
Definition at line 23 of file ChangeMailTokenDBRepository.php.
| ILIAS\User\Profile\ChangeMailTokenDBRepository::__construct | ( | private readonly \ilDBInterface | $db, | 
| private readonly \ilSetting | $settings | ||
| ) | 
Definition at line 27 of file ChangeMailTokenDBRepository.php.
| ILIAS\User\Profile\ChangeMailTokenDBRepository::deleteEntryByToken | ( | string | $token | ) | 
Implements ILIAS\User\Profile\ChangeMailTokenRepository.
Definition at line 121 of file ChangeMailTokenDBRepository.php.
References ilDBConstants\T_TEXT.
Referenced by ILIAS\User\Profile\ChangeMailTokenDBRepository\moveToNextStep().
 Here is the caller graph for this function:| ILIAS\User\Profile\ChangeMailTokenDBRepository::deleteExpiredEntries | ( | ) | 
Implements ILIAS\User\Profile\ChangeMailTokenRepository.
Definition at line 127 of file ChangeMailTokenDBRepository.php.
References ILIAS\Repository\settings(), and ilDBConstants\T_INTEGER.
 Here is the call graph for this function:| ILIAS\User\Profile\ChangeMailTokenDBRepository::getNewTokenForUser | ( | \ilObjUser | $user, | 
| string | $new_email, | ||
| int | $now | ||
| ) | 
Implements ILIAS\User\Profile\ChangeMailTokenRepository.
Definition at line 33 of file ChangeMailTokenDBRepository.php.
References $token, ilObjUser\getEmail(), ilObject\getId(), and ILIAS\User\Profile\ChangeMailTokenDBRepository\storeChangeMailToken().
 Here is the call graph for this function:| ILIAS\User\Profile\ChangeMailTokenDBRepository::getTokenForTokenString | ( | string | $token_string, | 
| \ilObjUser | $user | ||
| ) | 
This Function will check if the token is actually valid for the given user before returning the new email.
Implements ILIAS\User\Profile\ChangeMailTokenRepository.
Definition at line 77 of file ChangeMailTokenDBRepository.php.
References $token, ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\from(), ilObjUser\getEmail(), ilObject\getId(), and ilDBConstants\T_TEXT.
 Here is the call graph for this function:| ILIAS\User\Profile\ChangeMailTokenDBRepository::hasUserValidEmailConfirmationToken | ( | \ilObjUser | $user | ) | 
Implements ILIAS\User\Profile\ChangeMailTokenRepository.
Definition at line 49 of file ChangeMailTokenDBRepository.php.
References ilObject\getId(), ILIAS\Repository\settings(), and ilDBConstants\T_INTEGER.
 Here is the call graph for this function:| ILIAS\User\Profile\ChangeMailTokenDBRepository::moveToNextStep | ( | ChangeMailToken | $token, | 
| int | $now | ||
| ) | 
Implements ILIAS\User\Profile\ChangeMailTokenRepository.
Definition at line 107 of file ChangeMailTokenDBRepository.php.
References ILIAS\User\Profile\ChangeMailTokenDBRepository\deleteEntryByToken(), ILIAS\User\Profile\ChangeMailToken\getCurrentEmail(), ILIAS\User\Profile\ChangeMailToken\getNewEmail(), ILIAS\User\Profile\ChangeMailToken\getStatus(), ILIAS\User\Profile\ChangeMailToken\getToken(), ILIAS\User\Profile\ChangeMailToken\getUserId(), and ILIAS\User\Profile\ChangeMailTokenDBRepository\storeChangeMailToken().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 137 of file ChangeMailTokenDBRepository.php.
References ILIAS\User\Profile\ChangeMailToken\getCreatedTimestamp(), ILIAS\User\Profile\ChangeMailToken\getNewEmail(), ILIAS\User\Profile\ChangeMailToken\getStatus(), ILIAS\User\Profile\ChangeMailToken\getToken(), ILIAS\User\Profile\ChangeMailToken\getUserId(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by ILIAS\User\Profile\ChangeMailTokenDBRepository\getNewTokenForUser(), and ILIAS\User\Profile\ChangeMailTokenDBRepository\moveToNextStep().
 Here is the call graph for this function:
 Here is the caller graph for this function:| const ILIAS\User\Profile\ChangeMailTokenDBRepository::TABLE_NAME = 'usr_change_email_token' | 
Definition at line 25 of file ChangeMailTokenDBRepository.php.