Core/Http/Request.php
public function getUriSegment($index)
    {
        $segments = explode('/', $this->server->get('REQUEST_URI'));
        if (isset($segments[$index])) {
            return $segments[$index];
        }
        return false;
    }
public function getUriSegment($index)
    {
        $segments = explode('/', $this->server->get('REQUEST_URI'));
        if (isset($segments[$index])) {
            return $segments[$index];
        }
        return false;
    }
public function getUriSegment ( $ index ) { $ segments = explode ( '/' , $ this -> server -> get ( 'REQUEST_URI' ) ) ; if ( isset ( $ segments [ $ index ] ) ) { return $ segments [ $ index ] ; } return false ; }
Get request URI segment.

@param int $index
@return string|bool
Get request URI segment .