|
MediaWiki 1.43.1
|
Public Member Functions | |
| __construct (ServiceOptions $options, ObjectFactory $objectFactory) | |
| getFirstRegistration (UserIdentity $user) | |
| Find the first registration timestamp for a given user. | |
| getRegistration (UserIdentity $user, string $type=LocalUserRegistrationProvider::TYPE) | |
| isRegistered (string $type) | |
| Is a registration provider registered? | |
Definition at line 15 of file UserRegistrationLookup.php.
| MediaWiki\User\Registration\UserRegistrationLookup::__construct | ( | ServiceOptions | $options, |
| ObjectFactory | $objectFactory ) |
Definition at line 33 of file UserRegistrationLookup.php.
References MediaWiki\Config\ServiceOptions\assertRequiredOptions(), MediaWiki\Config\ServiceOptions\get(), and MediaWiki\MainConfigNames\UserRegistrationProviders.
| MediaWiki\User\Registration\UserRegistrationLookup::getFirstRegistration | ( | UserIdentity | $user | ) |
Find the first registration timestamp for a given user.
Note this invokes all registered providers.
| UserIdentity | $user |
Definition at line 93 of file UserRegistrationLookup.php.
References wfTimestamp().
| MediaWiki\User\Registration\UserRegistrationLookup::getRegistration | ( | UserIdentity | $user, |
| string | $type = LocalUserRegistrationProvider::TYPE ) |
| UserIdentity | $user | User for which registration should be fetched. |
| string | $type | Name of a registered registration provider |
Definition at line 78 of file UserRegistrationLookup.php.
| MediaWiki\User\Registration\UserRegistrationLookup::isRegistered | ( | string | $type | ) |
Is a registration provider registered?
| string | $type |
Definition at line 49 of file UserRegistrationLookup.php.