public function getData($sEmail)
    {
        $this->sFormat = 'php';

        $sProfile = file_get_contents($this->getUrl($sEmail));

        $aProfile = unserialize($sProfile);

        if (is_array($aProfile) && isset($aProfile['entry'])) {
            return $aProfile;
        }
    }
public function getData($sEmail)
    {
        $this->sFormat = 'php';

        $sProfile = file_get_contents($this->getUrl($sEmail));

        $aProfile = unserialize($sProfile);

        if (is_array($aProfile) && isset($aProfile['entry'])) {
            return $aProfile;
        }
    }
public function getData ( $ sEmail ) { $ this -> sFormat = 'php' ; $ sProfile = file_get_contents ( $ this -> getUrl ( $ sEmail ) ) ; $ aProfile = unserialize ( $ sProfile ) ; if ( is_array ( $ aProfile ) && isset ( $ aProfile [ 'entry' ] ) ) { return $ aProfile ; } }
Return profile data based on the provided email address.

@param string $sEmail The email to get the gravatar profile for
@return array
Return profile data based on the provided email address .