Application/Uri.php
public function path($path) {
		$path = explode('/', $path);
		for ($i = 0; $i < count($path); $i++) {
			$path[$i] = urlencode($path[$i]);
		}

		$this->path = implode('/', $path);
		return $this;
	}
public function path($path) {
		$path = explode('/', $path);
		for ($i = 0; $i < count($path); $i++) {
			$path[$i] = urlencode($path[$i]);
		}

		$this->path = implode('/', $path);
		return $this;
	}
public function path ( $ path ) { $ path = explode ( '/' , $ path ) ; for ( $ i = 0 ; $ i < count ( $ path ) ; $ i ++ ) { $ path [ $ i ] = urlencode ( $ path [ $ i ] ) ; } $ this -> path = implode ( '/' , $ path ) ; return $ this ; }
Set the URI path

@param string $path
@return Uri instance
Set the URI path