Method | Description | |
---|---|---|
CanReadWithoutLock ( ) : bool | ||
CanWriteWithoutLock ( ) : bool | ||
CheckAccess ( string filename, CheckAccessMode mode, CheckAccessOptions options ) : bool |
Performs all checks on a path passed to a PHP function. This method performs a check similar to The filename may be one of the following: |
|
ResolvePath ( string &path, StreamWrapper &wrapper, CheckAccessMode mode, CheckAccessOptions options ) : bool |
Merges the path with the current working directory to get a canonicalized absolute pathname representing the same file. This method is an analogy of |
|
Stat ( ) : PHP.Core.StatStruct |
Method | Description | |
---|---|---|
CheckIncludePath ( string relativePath, string &absolutePath ) : bool |
Check if the path lays inside of the directory tree specified by the
|
public static CheckAccess ( string filename, CheckAccessMode mode, CheckAccessOptions options ) : bool | ||
filename | string | A resolved path. Must be an absolute path to a local file. |
mode | CheckAccessMode | One of the |
options | CheckAccessOptions | |
return | bool |
public static ResolvePath ( string &path, StreamWrapper &wrapper, CheckAccessMode mode, CheckAccessOptions options ) : bool | ||
path | string | An absolute or relative path to a file. |
wrapper | StreamWrapper | The wrapper found for the specified file or |
mode | CheckAccessMode | The checking mode of the |
options | CheckAccessOptions | Additional options for the |
return | bool |