Documentation

DirectoryExists

bool
CBXVirtualIo::DirectoryExists(
 string $path
);

The method checks if a specified folder exists. Receives absolute path on input. Non-static method.

Parameters

Parameter Description
path Path

Example

echo $io->DirectoryExists($io->RelativeToAbsolutePath("/folder1/folder2")); 


© «Bitrix24», 2001-2022
Up