MediaWiki master
|
Convenience functions for interpreting UserIdentity objects using additional services or config. More...
Public Member Functions | |
__construct (TempUserConfig $tempUserConfig) | |
isNamed (UserIdentity $user) | |
Is the user a normal non-temporary registered user? | |
isTemp (UserIdentity $user) | |
Is the user a temporary user? | |
Convenience functions for interpreting UserIdentity objects using additional services or config.
Definition at line 13 of file UserIdentityUtils.php.
MediaWiki\User\UserIdentityUtils::__construct | ( | TempUserConfig | $tempUserConfig | ) |
TempUserConfig | $tempUserConfig |
Definition at line 21 of file UserIdentityUtils.php.
MediaWiki\User\UserIdentityUtils::isNamed | ( | UserIdentity | $user | ) |
Is the user a normal non-temporary registered user?
UserIdentity | $user |
Definition at line 41 of file UserIdentityUtils.php.
References MediaWiki\User\UserIdentity\getName(), and MediaWiki\User\UserIdentity\isRegistered().
MediaWiki\User\UserIdentityUtils::isTemp | ( | UserIdentity | $user | ) |
Is the user a temporary user?
UserIdentity | $user |
Definition at line 31 of file UserIdentityUtils.php.
References MediaWiki\User\UserIdentity\getName().