Netcarver\Textile\Parser::rebuildURI
Rebuild a URI from parsed parts and a mask.
Signature
protected function rebuildURI(array
$parts,
[string
$mask = 'scheme,authority,path,query,fragment',
[boolean
$encode = true]] )
Parameters
$parts
— array- Full array of URI parts
$mask
— string- Comma separated list of URI parts to include in the rebuilt URI
$encode
— boolean- Flag to control encoding of the path part of the rebuilt URI
Returns
- string
- The rebuilt URI