Documentation

validateFilename

resource public
\Bitrix\Main\IO\Path::validateFilename(
 string $filename
);

Static method checks if file name is valid.

Parameters

ParameterDescriptionVersion
$filenameFile name.

Example



© «Bitrix24», 2001-2024
Up