modUser.loadAttributes
Последнее обновление Apr 17th, 2019 | История страницы | Улучшить эту страницу | Сообщить о проблеме
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
$301 per month—let's make that $500!
Learn moremodUser::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);
Смотрите также¶
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
$301 per month—let's make that $500!
Learn more