Jump to main content Jump to doc navigation

modUser.getSettings

Other versions: 3.x — Other languages: EN RU — Found a problem? Please edit this page or report an issue.

modUser::getSettings

Gets all user settings in array format.

Syntax

API Doc: http://api.modx.com/revolution/2.2/db_core_model_modx_moduser.class.html#%5CmodUser::getSettings()

array getSettings ()

Example

Get all the User Settings for this User.

$settings = $user->getSettings();

See Also