modUser.getUserGroupSettings
Last updated not available | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn moremodUser::getUserGroupSettings¶
Collects modUserGroupSetting values for the groups the User belongs to, not from the User row.
Rows arrive ordered by group rank, then member rank; a later row overwrites an earlier one for the same key. primary_group settings are collected separately and merged last, so they win over everything else. getSettings() puts the User's own UserSettings on top of the result.
Syntax¶
array getUserGroupSettings ()
Example¶
$groupSettings = $user->getUserGroupSettings();
$allSettings = $user->getSettings();
See Also¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn more










