BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
MediaWiki\User\UserIdentityValue Class Reference
Inheritance diagram for MediaWiki\User\UserIdentityValue:
Collaboration diagram for MediaWiki\User\UserIdentityValue:

Public Member Functions

 __construct ($id, $name, $actor)
 
 getId ()
 
 getName ()
 
 getActorId ()
 

Detailed Description

Value object representing a user's identity.

Since
1.31

Constructor & Destructor Documentation

MediaWiki\User\UserIdentityValue::__construct (   $id,
  $name,
  $actor 
)
Parameters
int$id
string$name
int$actor

Member Function Documentation

MediaWiki\User\UserIdentityValue::getActorId ( )
Returns
int The user's actor ID. May be 0 if no actor ID has been assigned.

Implements MediaWiki\User\UserIdentity.

MediaWiki\User\UserIdentityValue::getId ( )
Returns
int The user ID. May be 0 for anonymous users or for users with no local account.

Implements MediaWiki\User\UserIdentity.

MediaWiki\User\UserIdentityValue::getName ( )
Returns
string The user's logical name. May be an IPv4 or IPv6 address for anonymous users.

Implements MediaWiki\User\UserIdentity.


The documentation for this class was generated from the following file: