library/Extlib/Utils.php
public function getDomainUrl($address, $scheme = false)
    {
        $this->urlAddress->setAddress($address);
        return $this->urlAddress->getDomain($scheme);
    }
public function getDomainUrl($address, $scheme = false)
    {
        $this->urlAddress->setAddress($address);
        return $this->urlAddress->getDomain($scheme);
    }
Alias for getDomain from Extlib\System\IpAddress

@param string $address
@param boolean $scheme
@return string