Class OS
Collection of OS-related helper methods.
Namespace: Core
Package: Core
Since:
3.1
Requires:
PHP 5.3
Version:
1.0
Deprecated:
Until usage has been cleared, the class and all methods are considered deprecated.
Located at OS.inc.php
Methods summary
public static
Core\URI
|
#
resolveToRelativeAppPath( string $pathName, string $rootPath = '.' )
Resolves the relative path of a Core file or from a given path.
Resolves the relative path of a Core file or from a given path.
Parameters
- $pathName
Path to resolve relative Core or application path for. The path is
resolved via realpath(), relative to the Core root or the given
root path.
- $rootPath
Optional root pathname to resolve the path name relative to. Defaults
to the current working directory ».«.
Returns
Core\URI URI instance for the same path as the given path name, but relative to
the Core root or given root path directory.
Since
3.1
|