Documentation

ExtractPathFromPath

result_type
CBXVirtualIo::ExtractPathFromPath(
 string $path
);

The method returns path to file or folder, receiving the path on input. It is recommended to convert path into normal format first. Non-static method.

Parameters

Parameter Description
path Path

Example

echo $io->ExtractPathFromPath("/path1/index.php");   // returns /path1


© «Bitrix24», 2001-2024
Up