Method | Description | |
---|---|---|
normalizePath ( string $path, string $referencePath = null, string $siteNodePath = null ) : string | Normalizes the given node path to a reference path and returns an absolute path. |
public normalizePath ( string $path, string $referencePath = null, string $siteNodePath = null ) : string | ||
$path | string | The non-normalized path |
$referencePath | string | a reference path in case the given path is relative. |
$siteNodePath | string | Reference path to a site node. Relative paths starting with "~" will be based on the siteNodePath. |
return | string | The normalized absolute path |