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

Plugin hook handlers for user settings. More...

Static Public Member Functions

static setPassword (\Elgg\Hook $hook)
 Set a user's password. More...
 
static setName (\Elgg\Hook $hook)
 Set a user's display name. More...
 
static setUsername (\Elgg\Hook $hook)
 Set a user's username. More...
 
static setLanguage (\Elgg\Hook $hook)
 Set a user's language. More...
 
static setEmail (\Elgg\Hook $hook)
 Set a user's email address. More...
 
static setDefaultAccess (\Elgg\Hook $hook)
 Set a user's default access level. More...
 
static setAdminValidationNotification (\Elgg\Hook $hook)
 Save a setting related to admin approval of new users. More...
 

Detailed Description

Plugin hook handlers for user settings.

Since
4.0

Definition at line 15 of file Settings.php.

Member Function Documentation

static Elgg\Users\Settings::setAdminValidationNotification ( \Elgg\Hook  $hook)
static

Save a setting related to admin approval of new users.

Parameters
\Elgg\Hook$hook'usersettings:save', 'user'
Returns
void

Definition at line 359 of file Settings.php.

static Elgg\Users\Settings::setDefaultAccess ( \Elgg\Hook  $hook)
static

Set a user's default access level.

Parameters
\Elgg\Hook$hook'usersettings:save', 'user'
Returns
void

Definition at line 326 of file Settings.php.

static Elgg\Users\Settings::setEmail ( \Elgg\Hook  $hook)
static

Set a user's email address.

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

Parameters
\Elgg\Hook$hook'usersettings:save', 'user'
Returns
bool|void

Definition at line 248 of file Settings.php.

static Elgg\Users\Settings::setLanguage ( \Elgg\Hook  $hook)
static

Set a user's language.

Parameters
\Elgg\Hook$hook'usersettings:save', 'user'
Returns
void

Definition at line 205 of file Settings.php.

static Elgg\Users\Settings::setName ( \Elgg\Hook  $hook)
static

Set a user's display name.

Returns false indicating failure if change was needed

Parameters
\Elgg\Hook$hook'usersettings:save', 'user'
Returns
false|void

Definition at line 105 of file Settings.php.

static Elgg\Users\Settings::setPassword ( \Elgg\Hook  $hook)
static

Set a user's password.

Returns false indicating failure if change was needed

Parameters
\Elgg\Hook$hook'usersettings:save', 'user'
Returns
false|void

Definition at line 26 of file Settings.php.

static Elgg\Users\Settings::setUsername ( \Elgg\Hook  $hook)
static

Set a user's username.

Returns false indicating failure if change was needed

Parameters
\Elgg\Hook$hook'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: