lib/ezutils/classes/ezuri.php
public function dropBase()
    {
        $elements = array_slice( $this->URIArray, $this->Index );
        $this->URIArray = $elements;
        $this->URI = implode( '/', $this->URIArray );
        $uri = $this->URI;
        foreach ( $this->UserArray as $name => $value )
        {
            $uri .= '/(' . $name . ')/' . $value;
        }
        $this->OriginalURI = $uri;
        $this->Index = 0;
    }
public function dropBase()
    {
        $elements = array_slice( $this->URIArray, $this->Index );
        $this->URIArray = $elements;
        $this->URI = implode( '/', $this->URIArray );
        $uri = $this->URI;
        foreach ( $this->UserArray as $name => $value )
        {
            $uri .= '/(' . $name . ')/' . $value;
        }
        $this->OriginalURI = $uri;
        $this->Index = 0;
    }
public function dropBase ( ) { $ elements = array_slice ( $ this -> URIArray , $ this -> Index ) ; $ this -> URIArray = $ elements ; $ this -> URI = implode ( '/' , $ this -> URIArray ) ; $ uri = $ this -> URI ; foreach ( $ this -> UserArray as $ name => $ value ) { $ uri .= '/(' . $ name . ')/' . $ value ; } $ this -> OriginalURI = $ uri ; $ this -> Index = 0 ; }
Removes all elements below the current index, recreates the URI string
and sets index to 0.

@return void
Removes all elements below the current index recreates the URI string and sets index to 0 .