Elgg  Version 6.1
Static Public Member Functions | List of all members
Elgg\Users\Settings Class Reference

Event handlers for user settings. More...

Static Public Member Functions

static setPassword (\Elgg\Event $event)
 Set a user's password. More...
 
static setName (\Elgg\Event $event)
 Set a user's display name. More...
 
static setUsername (\Elgg\Event $event)
 Set a user's username. More...
 
static setLanguage (\Elgg\Event $event)
 Set a user's language. More...
 
static setEmail (\Elgg\Event $event)
 Set a user's email address. More...
 
static setDefaultAccess (\Elgg\Event $event)
 Set a user's default access level. More...
 

Detailed Description

Event handlers for user settings.

Since
4.0

Definition at line 15 of file Settings.php.

Member Function Documentation

static Elgg\Users\Settings::setDefaultAccess ( \Elgg\Event  $event)
static

Set a user's default access level.

Parameters
\Elgg\Event$event'usersettings:save', 'user'
Returns
void

Definition at line 327 of file Settings.php.

static Elgg\Users\Settings::setEmail ( \Elgg\Event  $event)
static

Set a user's email address.

Returns true or false indicating success or failure if change was needed

Parameters
\Elgg\Event$event'usersettings:save', 'user'
Returns
bool|void

Definition at line 248 of file Settings.php.

static Elgg\Users\Settings::setLanguage ( \Elgg\Event  $event)
static

Set a user's language.

Parameters
\Elgg\Event$event'usersettings:save', 'user'
Returns
void

Definition at line 205 of file Settings.php.

static Elgg\Users\Settings::setName ( \Elgg\Event  $event)
static

Set a user's display name.

Returns false indicating failure if change was needed

Parameters
\Elgg\Event$event'usersettings:save', 'user'
Returns
false|void

Definition at line 105 of file Settings.php.

static Elgg\Users\Settings::setPassword ( \Elgg\Event  $event)
static

Set a user's password.

Returns false indicating failure if change was needed

Parameters
\Elgg\Event$event'usersettings:save', 'user'
Returns
false|void

Definition at line 26 of file Settings.php.

static Elgg\Users\Settings::setUsername ( \Elgg\Event  $event)
static

Set a user's username.

Returns false indicating failure if change was needed

Parameters
\Elgg\Event$event'usersettings:save', 'user'
Returns
false|void

Definition at line 142 of file Settings.php.


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