MediaWiki REL1_35
|
Value object representing a user's identity. More...
Public Member Functions | |
__construct ( $id, $name, $actor) | |
Stable to call. | |
equals (UserIdentity $user) | |
getActorId () | |
getId () | |
getName () | |
isRegistered () | |
Private Attributes | |
int | $actor |
int | $id |
string | $name |
Value object representing a user's identity.
@newable
Definition at line 34 of file UserIdentityValue.php.
MediaWiki\User\UserIdentityValue::__construct | ( | $id, | |
$name, | |||
$actor | |||
) |
Stable to call.
int | $id | |
string | $name | |
int | $actor |
Definition at line 58 of file UserIdentityValue.php.
References MediaWiki\User\UserIdentityValue\$actor, MediaWiki\User\UserIdentityValue\$id, and MediaWiki\User\UserIdentityValue\$name.
MediaWiki\User\UserIdentityValue::equals | ( | UserIdentity | $user | ) |
UserIdentity | $user |
Implements MediaWiki\User\UserIdentity.
Definition at line 95 of file UserIdentityValue.php.
References MediaWiki\User\UserIdentity\getName(), and MediaWiki\User\UserIdentityValue\getName().
MediaWiki\User\UserIdentityValue::getActorId | ( | ) |
Implements MediaWiki\User\UserIdentity.
Definition at line 85 of file UserIdentityValue.php.
References MediaWiki\User\UserIdentityValue\$actor.
MediaWiki\User\UserIdentityValue::getId | ( | ) |
Implements MediaWiki\User\UserIdentity.
Definition at line 71 of file UserIdentityValue.php.
References MediaWiki\User\UserIdentityValue\$id.
Referenced by MediaWiki\User\UserIdentityValue\isRegistered().
MediaWiki\User\UserIdentityValue::getName | ( | ) |
Implements MediaWiki\User\UserIdentity.
Definition at line 78 of file UserIdentityValue.php.
References MediaWiki\User\UserIdentityValue\$name.
Referenced by MediaWiki\User\UserIdentityValue\equals().
MediaWiki\User\UserIdentityValue::isRegistered | ( | ) |
Implements MediaWiki\User\UserIdentity.
Definition at line 107 of file UserIdentityValue.php.
References MediaWiki\User\UserIdentityValue\getId().
|
private |
Definition at line 49 of file UserIdentityValue.php.
Referenced by MediaWiki\User\UserIdentityValue\__construct(), and MediaWiki\User\UserIdentityValue\getActorId().
|
private |
Definition at line 39 of file UserIdentityValue.php.
Referenced by MediaWiki\User\UserIdentityValue\__construct(), and MediaWiki\User\UserIdentityValue\getId().
|
private |
Definition at line 44 of file UserIdentityValue.php.
Referenced by MediaWiki\User\UserIdentityValue\__construct(), and MediaWiki\User\UserIdentityValue\getName().