• Модуль: clouds
  • Путь к файлу: ~/bitrix/modules/clouds/classes/general/storage.php
  • Класс: CCloudStorage
  • Вызов: CCloudStorage::ResizeImageFileGet
static function ResizeImageFileGet($destinationFile)
{
	global $DB;
	$destinationFile = preg_replace("/^https?:/i", "", $destinationFile);
	$destinationFile = CCloudUtil::URLEncode($destinationFile, "UTF-8", true);
	$q = $DB->Query("
		select
			ID
			,ERROR_CODE
			,FILE_ID
			,".$DB->DateToCharFunction("TIMESTAMP_X", "FULL")." TIMESTAMP_X
		from b_clouds_file_resize
		where TO_PATH = '".$DB->ForSql($destinationFile)."'
	");
	$a = $q->Fetch();
	return $a;
}