Documentation

getDirectory

resource public
\Bitrix\Main\IO\Path::getDirectory(
 string $path
);

Static method gets path and returns path without file name.

Parameters

ParameterDescriptionVersion
$pathFile path

Example



© «Bitrix24», 2001-2024
Up