public function getHostname()
    {
        if (is_null($this->hostname)) {
            $this->hostname = gethostbyaddr($this->ip);
        }

        return $this->hostname;
    }
public function getHostname()
    {
        if (is_null($this->hostname)) {
            $this->hostname = gethostbyaddr($this->ip);
        }

        return $this->hostname;
    }
public function getHostname ( ) { if ( is_null ( $ this -> hostname ) ) { $ this -> hostname = gethostbyaddr ( $ this -> ip ) ; } return $ this -> hostname ; }
Gets the IP hostname

@return string
Gets the IP hostname