MediaWiki
REL1_22
|
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 | |
$groups | |
$password | |
$user | |
$username |
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.
TestUser::__construct | ( | $ | username, |
$ | realname = 'Real Name' , |
||
$ | email = '[email protected]' , |
||
$ | groups = array() |
||
) |
Definition at line 13 of file TestUser.php.
References $email, $groups, $username, array(), as, User\createNew(), User\newFromName(), User\randomPassword(), and user.
TestUser::$email |
Definition at line 9 of file TestUser.php.
Referenced by __construct().
TestUser::$groups |
Definition at line 10 of file TestUser.php.
Referenced by __construct().
TestUser::$password |
Definition at line 8 of file TestUser.php.
TestUser::$user |
Definition at line 11 of file TestUser.php.
TestUser::$username |
Definition at line 7 of file TestUser.php.
Referenced by __construct().