public function getEntryForSteamId($steamId) {
        if (is_object($steamId)) {
            $id = $steamId->getSteamId64();
        } else {
            $id = $steamId;
        }

        $xml = $this->loadDataForSteamId($id);

        foreach($xml->entries->entry as $entryData) {
            if($entryData->steamid == $id) {
                return new GameLeaderboardEntry($entryData, $this);
            }
        }

        return null;
    }
public function getEntryForSteamId($steamId) {
        if (is_object($steamId)) {
            $id = $steamId->getSteamId64();
        } else {
            $id = $steamId;
        }

        $xml = $this->loadDataForSteamId($id);

        foreach($xml->entries->entry as $entryData) {
            if($entryData->steamid == $id) {
                return new GameLeaderboardEntry($entryData, $this);
            }
        }

        return null;
    }
public function getEntryForSteamId ( $ steamId ) { if ( is_object ( $ steamId ) ) { $ id = $ steamId -> getSteamId64 ( ) ; } else { $ id = $ steamId ; } $ xml = $ this -> loadDataForSteamId ( $ id ) ; foreach ( $ xml -> entries -> entry as $ entryData ) { if ( $ entryData -> steamid == $ id ) { return new GameLeaderboardEntry ( $ entryData , $ this ) ; } } return null ; }
Returns the entry on this leaderboard for the user with the given
SteamID

@param mixed $steamId The 64bit SteamID or the <var>SteamId</var> object
of the user
@return GameLeaderboardEntry The entry of the user if available
@throws SteamCondenserException if the XML data is marked as erroneous
Returns the entry on this leaderboard for the user with the given SteamID