Go to the documentation of this file.
46 'label' =>
wfMessage(
'authmanager-email-label' ),
47 'help' =>
wfMessage(
'authmanager-email-help' ),
52 'label' =>
wfMessage(
'authmanager-realname-label' ),
53 'help' =>
wfMessage(
'authmanager-realname-help' ),
59 unset( $ret[
'email'] );
62 if ( in_array(
'realname',
$config->
get(
'HiddenPrefs' ),
true ) ) {
63 unset( $ret[
'realname'] );
77 if ( $this->email !==
null && $this->email !==
'' ) {
78 if ( !\Sanitizer::validateEmail( $this->email ) ) {
81 $user->setEmail( $this->email );
83 if ( $this->realname !==
null && $this->realname !==
'' ) {
84 $user->setRealName( $this->realname );
Generic operation result class Has warning/error list, boolean status and arbitrary value.
static newFatal( $message,... $parameters)
Factory function for fatal errors.
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
get( $name)
Get a configuration variable such as "Sitename" or "UploadMaintenance.".
static newGood( $value=null)
Factory function for good results.
The User object encapsulates all of the user-specific settings (user_id, name, rights,...