modUser.loadAttributes
modUser::loadAttributes
Загружает основные атрибуты, которые определяют профиль безопасности modUser.
Синтаксис
API документация: http://api.modx.com/revolution/2.2/db_core_model_modx_moduser.class.html#%5CmodUser::loadAttributes()
void loadAttributes ( $target, [ $context = ''], [ $reload = false])
Пример
Загрузите атрибуты для 'sports' контекста и цели modResource.
$user->loadAttributes('modResource','sports',true);