Back to PhocaGalleryFbSystem class

Method getFbUserInfo

public static
getFbUserInfo
(mixed $id)

Method getFbUserInfo - Source code

public static function getFbUserInfo($id)
{
    $db = Factory::getDBO();
    //build the list of categories
    $query = 'SELECT a.*' . ' FROM #__phocagallery_fb_users AS a' . ' WHERE a.id =' . (int) $id;
    $db->setQuery($query);
    $item = $db->loadObject();
    return $item;
}