|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Inheritance diagram for ILIAS\User\Profile\ProfileChangeMailTokenDBRepository:
Collaboration diagram for ILIAS\User\Profile\ProfileChangeMailTokenDBRepository:Public Member Functions | |
| __construct (\ilDBInterface $db) | |
| getNewTokenForUser (\ilObjUser $user, string $new_email) | |
| getNewEmailForUser (\ilObjUser $user, string $received_token) | |
| This Function will check if the token is actually valid for the given user before returning the new email. More... | |
| deleteEntryByToken (string $token) | |
| getNewTokenForUser (\ilObjUser $user, string $new_email) | |
| getNewEmailForUser (\ilObjUser $user, string $token) | |
| This Function will check if the token is actually valid for the given user before returning the new email. More... | |
| deleteEntryByToken (string $token) | |
Private Member Functions | |
| deleteExpiredEntries () | |
Private Attributes | |
| const | TABLE_NAME = 'usr_change_email_token' |
| const | VALIDITY = 300 |
| $db | |
Definition at line 23 of file ProfileChangeMailTokenDBRepository.php.
| ILIAS\User\Profile\ProfileChangeMailTokenDBRepository::__construct | ( | \ilDBInterface | $db | ) |
Definition at line 29 of file ProfileChangeMailTokenDBRepository.php.
References ILIAS\User\Profile\ProfileChangeMailTokenDBRepository\$db, and ILIAS\User\Profile\ProfileChangeMailTokenDBRepository\deleteExpiredEntries().
Here is the call graph for this function:| ILIAS\User\Profile\ProfileChangeMailTokenDBRepository::deleteEntryByToken | ( | string | $token | ) |
Implements ILIAS\User\Profile\ProfileChangeMailTokenRepository.
Definition at line 78 of file ProfileChangeMailTokenDBRepository.php.
References $query, $token, and ilDBConstants\T_TEXT.
|
private |
Definition at line 84 of file ProfileChangeMailTokenDBRepository.php.
References $query, and ilDBConstants\T_INTEGER.
Referenced by ILIAS\User\Profile\ProfileChangeMailTokenDBRepository\__construct().
Here is the caller graph for this function:| ILIAS\User\Profile\ProfileChangeMailTokenDBRepository::getNewEmailForUser | ( | \ilObjUser | $user, |
| string | $token | ||
| ) |
This Function will check if the token is actually valid for the given user before returning the new email.
Implements ILIAS\User\Profile\ProfileChangeMailTokenRepository.
Definition at line 57 of file ProfileChangeMailTokenDBRepository.php.
References $query, $result, ilObjUser\getEmail(), ilObject\getId(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Here is the call graph for this function:| ILIAS\User\Profile\ProfileChangeMailTokenDBRepository::getNewTokenForUser | ( | \ilObjUser | $user, |
| string | $new_email | ||
| ) |
Implements ILIAS\User\Profile\ProfileChangeMailTokenRepository.
Definition at line 36 of file ProfileChangeMailTokenDBRepository.php.
References $result, $token, ilObjUser\getEmail(), ilObject\getId(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Here is the call graph for this function:
|
private |
Definition at line 27 of file ProfileChangeMailTokenDBRepository.php.
Referenced by ILIAS\User\Profile\ProfileChangeMailTokenDBRepository\__construct().
|
private |
Definition at line 25 of file ProfileChangeMailTokenDBRepository.php.
|
private |
Definition at line 26 of file ProfileChangeMailTokenDBRepository.php.