public static function getSelfURLNoQuery()
    {
        $selfURLNoQuery = self::getSelfURLhost();

        $infoWithBaseURLPath = self::buildWithBaseURLPath($_SERVER['SCRIPT_NAME']);
        if (!empty($infoWithBaseURLPath)) {
            $selfURLNoQuery .= $infoWithBaseURLPath;
        } else {
            $selfURLNoQuery .= $_SERVER['SCRIPT_NAME'];
        }

        if (isset($_SERVER['PATH_INFO'])) {
            $selfURLNoQuery .= $_SERVER['PATH_INFO'];
        }

        return $selfURLNoQuery;
    }
public static function getSelfURLNoQuery()
    {
        $selfURLNoQuery = self::getSelfURLhost();

        $infoWithBaseURLPath = self::buildWithBaseURLPath($_SERVER['SCRIPT_NAME']);
        if (!empty($infoWithBaseURLPath)) {
            $selfURLNoQuery .= $infoWithBaseURLPath;
        } else {
            $selfURLNoQuery .= $_SERVER['SCRIPT_NAME'];
        }

        if (isset($_SERVER['PATH_INFO'])) {
            $selfURLNoQuery .= $_SERVER['PATH_INFO'];
        }

        return $selfURLNoQuery;
    }
public static function getSelfURLNoQuery ( ) { $ selfURLNoQuery = self :: getSelfURLhost ( ) ; $ infoWithBaseURLPath = self :: buildWithBaseURLPath ( $ _SERVER [ 'SCRIPT_NAME' ] ) ; if ( ! empty ( $ infoWithBaseURLPath ) ) { $ selfURLNoQuery .= $ infoWithBaseURLPath ; } else { $ selfURLNoQuery .= $ _SERVER [ 'SCRIPT_NAME' ] ; } if ( isset ( $ _SERVER [ 'PATH_INFO' ] ) ) { $ selfURLNoQuery .= $ _SERVER [ 'PATH_INFO' ] ; } return $ selfURLNoQuery ; }
Returns the URL of the current host + current view.

@return string
Returns the URL of the current host + current view .