Documentation

checkDiskQuota

boolean
CDiskQuota::checkdiskquota(
 mixed size
);

The method checks the disk empty space for the data size parameter. Non-static method.

Parameters

ParameterDescription
size An array with fields "FILE_SIZE" or "SIZE", where size["SIZE"] - size specified in bytes, number, line.

Returned value

If empty space is available on the disk for the data size parameter, returns true, or false otherwise.



© «Bitrix24», 2001-2022
Up