Elgg  Version 3.0
Namespaces | Functions | Variables
user_settings.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Updates the advanced settings for the primary site object.
 

Functions

 _elgg_set_user_password (\Elgg\Hook $hook)
 Set a user's password Returns null if no change is required Returns true or false indicating success or failure if change was needed. More...
 
 _elgg_set_user_name (\Elgg\Hook $hook)
 Set a user's display name Returns null if no change is required or input is not present in the form Returns true or false indicating success or failure if change was needed. More...
 
 _elgg_set_user_username (\Elgg\Hook $hook)
 Set a user's username Returns null if no change is required or input is not present in the form Returns true or false indicating success or failure if change was needed. More...
 
 _elgg_set_user_language (\Elgg\Hook $hook)
 Set a user's language Returns null if no change is required or input is not present in the form Returns true or false indicating success or failure if change was needed. More...
 
 _elgg_set_user_email (\Elgg\Hook $hook)
 Set a user's email address Returns null if no change is required or input is not present in the form Returns true or false indicating success or failure if change was needed. More...
 
 _elgg_set_user_default_access (\Elgg\Hook $hook)
 Set a user's default access level Returns null if no change is required or input is not present in the form Returns true or false indicating success or failure if change was needed. More...
 
 _elgg_user_settings_menu_register ($hook, $type, $return, $params)
 Register menu items for the user settings page menu. More...
 
 _elgg_user_settings_menu_prepare ($hook, $type, $value, $params)
 Prepares the page menu to strip out empty plugins menu item for user settings. More...
 
 _elgg_user_settings_init ()
 Initialize the user settings library. More...
 

Variables

return function (\Elgg\EventsService $events,\Elgg\HooksRegistrationService $hooks)
 

Function Documentation

_elgg_set_user_default_access ( \Elgg\Hook  $hook)

Set a user's default access level Returns null if no change is required or input is not present in the form Returns true or false indicating success or failure if change was needed.

usersettings:save user

Parameters
\Elgg\Hook$hookHook
Returns
bool|null
Since
1.8.0

Definition at line 296 of file user_settings.php.

_elgg_set_user_email ( \Elgg\Hook  $hook)

Set a user's email address Returns null if no change is required or input is not present in the form Returns true or false indicating success or failure if change was needed.

usersettings:save user

Parameters
\Elgg\Hook$hookHook
Returns
bool|null
Since
1.8.0

Definition at line 231 of file user_settings.php.

_elgg_set_user_language ( \Elgg\Hook  $hook)

Set a user's language Returns null if no change is required or input is not present in the form Returns true or false indicating success or failure if change was needed.

usersettings:save user

Parameters
\Elgg\Hook$hookHook
Returns
bool|null
Since
1.8.0

Definition at line 195 of file user_settings.php.

_elgg_set_user_name ( \Elgg\Hook  $hook)

Set a user's display name Returns null if no change is required or input is not present in the form Returns true or false indicating success or failure if change was needed.

usersettings:save user

Parameters
\Elgg\Hook$hookHook
Returns
bool|null
Since
1.8.0

Definition at line 88 of file user_settings.php.

_elgg_set_user_password ( \Elgg\Hook  $hook)

Set a user's password Returns null if no change is required Returns true or false indicating success or failure if change was needed.

usersettings:save user

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

Definition at line 26 of file user_settings.php.

_elgg_set_user_username ( \Elgg\Hook  $hook)

Set a user's username Returns null if no change is required or input is not present in the form Returns true or false indicating success or failure if change was needed.

usersettings:save user

Parameters
\Elgg\Hook$hookHook
Returns
bool|null
Since
3.0

Definition at line 130 of file user_settings.php.

_elgg_user_settings_init ( )

Initialize the user settings library.

Returns
void

Definition at line 439 of file user_settings.php.

_elgg_user_settings_menu_prepare (   $hook,
  $type,
  $value,
  $params 
)

Prepares the page menu to strip out empty plugins menu item for user settings.

Parameters
string$hookprepare
string$typemenu:page
array$valuearray of menu items
array$paramsmenu related parameters
Returns
array

Definition at line 403 of file user_settings.php.

_elgg_user_settings_menu_register (   $hook,
  $type,
  $return,
  $params 
)

Register menu items for the user settings page menu.

Parameters
string$hook'register'
string$type'menu:page'
ElggMenuItem[]$return current return value
array$paramssupplied params
Returns
void|ElggMenuItem[]

Definition at line 331 of file user_settings.php.

Variable Documentation

See also
::loadCore Do not do work here. Just register for events.

Definition at line 463 of file user_settings.php.