Skip to content

Instantly share code, notes, and snippets.

@igorsgm
Created February 22, 2017 22:48
Show Gist options
  • Save igorsgm/4bdb9bb42397fa9b3f1f2bc5247197af to your computer and use it in GitHub Desktop.
Save igorsgm/4bdb9bb42397fa9b3f1f2bc5247197af to your computer and use it in GitHub Desktop.
Coletar informações de um User
<?php
// Importar se for utilizar o JUserHelper
jimport( 'joomla.user.helper' );
$userId = JUserHelper::getUserId('username');
$user = JFactory::getUser($userId);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment