• Модуль: disk
  • Путь к файлу: ~/bitrix/modules/disk/lib/urlmanager.php
  • Класс: BitrixDiskUrlManager
  • Вызов: UrlManager::getUrlForShowAttachedFileViewHtml
public function getUrlForShowAttachedFileViewHtml($attachedId, array $params = array(), $updateTime = 0)
{
	$pathToView = array(
		$this->getUrlUfController('showView', array('attachedId' => $attachedId, 'tc' => ($updateTime > 0? $updateTime: null))),
		$this->getUrlUfController('show', array('attachedId' => $attachedId, 'tc' => ($updateTime > 0? $updateTime: null))),
	);
	$preview = $this->getUrlUfController('showPreview', array('attachedId' => $attachedId, 'tc' => ($updateTime > 0? $updateTime: null)));
	$printUrl = $this->getUrlUfController('showViewHtml', array_merge($params, array('attachedId' => $attachedId, 'pathToView' => $pathToView, 'preview' => $preview, 'print' => 'Y', 'mode' => 'iframe', 'tc' => ($updateTime > 0? $updateTime: null))));
	return $this->getUrlUfController('showViewHtml', array_merge($params, array('attachedId' => $attachedId, 'pathToView' => $pathToView, 'preview' => $preview, 'printUrl' => $printUrl)));
}