public function lookup()
    {
        if ($this->ip) {
            $result = $this->lookupIp($this->ip);
        } else {
            $result = $this->lookupDomain($this->domain);
        }
        return $result;
    }
public function lookup()
    {
        if ($this->ip) {
            $result = $this->lookupIp($this->ip);
        } else {
            $result = $this->lookupDomain($this->domain);
        }
        return $result;
    }
public function lookup ( ) { if ( $ this -> ip ) { $ result = $ this -> lookupIp ( $ this -> ip ) ; } else { $ result = $ this -> lookupDomain ( $ this -> domain ) ; } return $ result ; }
Looks up the current domain or IP.

@return string Content of whois lookup.
Looks up the current domain or IP .