public static function getCurrentPage()
    {
        $protocol = self::getProtocol();
        $host = self::getDomain();
        $port = ':' . self::getPort();
        $port = (($port == ':80') || ($port == ':443')) ? '' : $port;
        $uri = self::getUri();

        return $protocol . '://' . $host . $port . $uri;
    }