Documentation

getExtension

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

Static method gets path and returns file extension.

Parameters

ParameterDescriptionVersion
$pathFile path

Example



© «Bitrix24», 2001-2024
Up