src/php/main/Eix/Core/Requests/Http.php
private function getUri()
    {
        if (empty($this->uri) && ($this->uri !== false)) {
            $this->uri = $_SERVER['REQUEST_URI'];

            // Remove the parameters from the URI.
            $paramsStart = strpos($this->uri, '?');
            if ($paramsStart !== false) {
                $this->uri = substr($this->uri, 0, $paramsStart);
            }
        }

        return $this->uri;
    }
private function getUri()
    {
        if (empty($this->uri) && ($this->uri !== false)) {
            $this->uri = $_SERVER['REQUEST_URI'];

            // Remove the parameters from the URI.
            $paramsStart = strpos($this->uri, '?');
            if ($paramsStart !== false) {
                $this->uri = substr($this->uri, 0, $paramsStart);
            }
        }

        return $this->uri;
    }
private function getUri ( ) { if ( empty ( $ this -> uri ) && ( $ this -> uri !== false ) ) { $ this -> uri = $ _SERVER [ 'REQUEST_URI' ] ; // Remove the parameters from the URI. $ paramsStart = strpos ( $ this -> uri , '?' ) ; if ( $ paramsStart !== false ) { $ this -> uri = substr ( $ this -> uri , 0 , $ paramsStart ) ; } } return $ this -> uri ; }
Returns the current request's URI, finding it out if needed.

@return string
Returns the current request s URI finding it out if needed .