\Pydio\Core\Utils\VarsPathUtils

Helpers to manipulate file paths

Summary

Methods
Properties
Constants
forwardSlashDirname()
forwardSlashBasename()
patchPathForBaseDir()
unPatchPathForBaseDir()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

forwardSlashDirname()

forwardSlashDirname(  $path) : mixed|string

Parse file and replace \ by /

Parameters

$path

Returns

mixed|string

forwardSlashBasename()

forwardSlashBasename(  $path) : mixed|string

Parse file and replace \ by /

Parameters

$path

Returns

mixed|string

patchPathForBaseDir()

patchPathForBaseDir(string  $dirPath) : string

Fix openbasedir issue when browsing zip content as a normal folder

Parameters

string $dirPath

Returns

string

unPatchPathForBaseDir()

unPatchPathForBaseDir(string  $dirPath) : string

Fix openbasedir issue when browsing zip content as a normal folder

Parameters

string $dirPath

Returns

string