public function getPartialURLFromSegment($segmentIdx) {

        $partialURL = "";

        for ($i = $segmentIdx; $i < sizeof($this->segments); $i++) {
            $partialURL .= (($i > $segmentIdx) ? "/" : "") . $this->segments [$i];
        }

        return $partialURL;
    }
public function getPartialURLFromSegment($segmentIdx) {

        $partialURL = "";

        for ($i = $segmentIdx; $i < sizeof($this->segments); $i++) {
            $partialURL .= (($i > $segmentIdx) ? "/" : "") . $this->segments [$i];
        }

        return $partialURL;
    }
public function getPartialURLFromSegment ( $ segmentIdx ) { $ partialURL = "" ; for ( $ i = $ segmentIdx ; $ i < sizeof ( $ this -> segments ) ; $ i ++ ) { $ partialURL .= ( ( $ i > $ segmentIdx ) ? "/" : "" ) . $ this -> segments [ $ i ] ; } return $ partialURL ; }
Get a partial string version of this url object starting from a particular segment

@return string
Get a partial string version of this url object starting from a particular segment