.

.

GET CURRENTLOGGEDIN USER DETAIL INJOOMLA

By 
       


using this function JFactory::getUser() it provides all detail of loggedin user/
$user = JFactory::getUser();
(u can check by print_r($user))
TO GET VALUES OF USER Like we want ‘id’ of logged in user
Then use

 $user->get('id');  (//by using that way we can get all details of user)


EmoticonEmoticon