• Модуль: disk
  • Путь к файлу: ~/bitrix/modules/disk/lib/uf/controller.php
  • Класс: BitrixDiskUfController
  • Вызов: Controller::processActionShowTransformationInfo
protected function processActionShowTransformationInfo($transformOnOpenUrl = '', $refreshUrl = '', $noError = '')
{
	$attachedModel = $this->getAttachedModel();
	if(!$attachedModel->getFile()->getView()->isShowTransformationInfo())
	{
		$this->sendJsonErrorResponse();
	}
	if($noError == 'y' && $attachedModel->getFile()->getView()->isLastTransformationFailed())
	{
		$this->sendJsonErrorResponse();
	}
	$params = array(
		'TRANSFORM_URL' => $transformOnOpenUrl,
		'REFRESH_URL' => $refreshUrl,
	);
	$result = array(
		'html' => $attachedModel->getFile()->getView()->renderTransformationInProcessMessage($params)
	);
	$this->sendJsonSuccessResponse($result);
}