Skip to content

Instantly share code, notes, and snippets.

@morozVA
Created January 3, 2018 09:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save morozVA/38c2faca8b5e52ec06cb00cdce5bba2c to your computer and use it in GitHub Desktop.
Save morozVA/38c2faca8b5e52ec06cb00cdce5bba2c to your computer and use it in GitHub Desktop.
evo user info
$useridmassive = $modx->userLoggedIn();
$userid = $useridmassive["id"]; // Получаем ИД-пользователя
[+phx:userinfo=`email`+]
$user_data = $modx->getWebUserInfo($userId); //получение массива с инфой о пользователе по id, например $user_data['email']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment