Previous Page
_loadQuery()

Solar_Uri
_pathEncode()

Next Page
_setFormatFromPath()

_pathEncode()

protected string _pathEncode ( array $spec )

Converts an array of path elements into a string.

Parameters

  • (array) $spec: The path elements.

Returns

  • (string) A URI path string.

Description

Converts an array of path elements into a string.

Does not use urlencode(); instead, only converts characters found in Solar_Uri::$_encode_path.