MediaWiki  1.23.15
TestUser Class Reference

Wraps the user object, so we can also retain full access to properties like password if we log in via the API. More...

Public Member Functions

 __construct ( $username, $realname='Real Name', $email='sample @example.com', $groups=array())
 

Public Attributes

 $email
 
 $groups
 
 $password
 
 $user
 
 $username
 

Detailed Description

Wraps the user object, so we can also retain full access to properties like password if we log in via the API.

Definition at line 6 of file TestUser.php.

Constructor & Destructor Documentation

◆ __construct()

TestUser::__construct (   $username,
  $realname = 'Real Name',
  $email = 'sample@example.com',
  $groups = array() 
)

Member Data Documentation

◆ $email

TestUser::$email

Definition at line 9 of file TestUser.php.

Referenced by __construct().

◆ $groups

TestUser::$groups

Definition at line 10 of file TestUser.php.

Referenced by __construct().

◆ $password

TestUser::$password

Definition at line 8 of file TestUser.php.

◆ $user

TestUser::$user

Definition at line 11 of file TestUser.php.

◆ $username

TestUser::$username

Definition at line 7 of file TestUser.php.

Referenced by __construct().


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