library/Garp/Model/Db/User.php
public function fetchUserForSession($userId) {
        $select = $this->select()
            ->from($this->getName(), Garp_Auth::getInstance()->getSessionColumns())
            ->where('id = ?', $userId);
        return $this->fetchRow($select);
    }
public function fetchUserForSession($userId) {
        $select = $this->select()
            ->from($this->getName(), Garp_Auth::getInstance()->getSessionColumns())
            ->where('id = ?', $userId);
        return $this->fetchRow($select);
    }
public function fetchUserForSession ( $ userId ) { $ select = $ this -> select ( ) -> from ( $ this -> getName ( ) , Garp_Auth :: getInstance ( ) -> getSessionColumns ( ) ) -> where ( 'id = ?' , $ userId ) ; return $ this -> fetchRow ( $ select ) ; }
Grab only session columns by userid

@param int $userId
@return Garp_Db_Table_Row
Grab only session columns by userid