См. определение в файле previewmanager.php строка 20
◆ __construct()
◆ attachPreviewToFileId()
attachPreviewToFileId |
( |
int | $fileId, |
|
|
?int | $previewId, |
|
|
?int | $previewImageId ) |
◆ buildRenderByFile()
buildRenderByFile |
( |
| $originalName, |
|
|
| $contentType, |
|
|
Uri | $sourceUri, |
|
|
array | $options = [] ) |
|
protected |
- См. также
- \Bitrix\Main\UI\Viewer\Renderer\Renderer::__construct
См. определение в файле previewmanager.php строка 483
◆ checkTransformation()
checkTransformation |
( |
| $file | ) |
|
|
protected |
◆ disableCatchingViewByUser()
static disableCatchingViewByUser |
( |
| ) |
|
|
static |
◆ enableCatchingViewByUser()
static enableCatchingViewByUser |
( |
| ) |
|
|
static |
◆ generatePreview()
generatePreview |
( |
| $fileId | ) |
|
◆ getByImage()
getByImage |
( |
| $fileId, |
|
|
Uri | $sourceUri ) |
◆ getFileData()
getFileData |
( |
int | $fileId, |
|
|
bool | $cacheCleaned = false ) |
|
protected |
Temporary dirty hack. It is here while we do not solve the problem of race conditions in b_file managed cache. Get file data from b_file on $fileId.
- Аргументы
-
int | $fileId | |
bool | $cacheCleaned | |
- Возвращает
- array|null
См. определение в файле previewmanager.php строка 556
◆ getFilePreviewEntryByFileId()
getFilePreviewEntryByFileId |
( |
int | $fileId | ) |
|
◆ getRenderClassByFile()
getRenderClassByFile |
( |
array | $file | ) |
|
◆ getSourceUri()
◆ getViewFileData()
getViewFileData |
( |
array | $fileData | ) |
|
|
protected |
◆ isDisabledCatchingViewByUser()
static isDisabledCatchingViewByUser |
( |
| ) |
|
|
static |
◆ isInternalRequest()
isInternalRequest |
( |
| $file, |
|
|
| $options ) |
◆ prepareRenderParameters()
prepareRenderParameters |
( |
| $file | ) |
|
|
protected |
◆ processViewByUserRequest()
processViewByUserRequest |
( |
| $file, |
|
|
| $options ) |
◆ sendPreview()
sendPreview |
( |
| $file, |
|
|
bool | $forceTransformation = false ) |
|
protected |
◆ sendPreviewContent()
sendPreviewContent |
( |
| $file, |
|
|
| $options ) |
|
protected |
◆ sendResizedImage()
sendResizedImage |
( |
| $file | ) |
|
|
protected |
◆ setPreviewImageId()
setPreviewImageId |
( |
int | $fileId, |
|
|
int | $previewImageId ) |
◆ showImage()
showImage |
( |
| $file, |
|
|
| $options ) |
|
protected |
◆ signFileId()
◆ unsignFileId()
unsignFileId |
( |
| $signedString | ) |
|
|
protected |
◆ GET_KEY_TO_SEND_PREVIEW_CONTENT
const GET_KEY_TO_SEND_PREVIEW_CONTENT = 'ibxPreview' |
◆ GET_KEY_TO_SHOW_IMAGE
const GET_KEY_TO_SHOW_IMAGE = 'ibxShowImage' |
◆ HEADER_TO_CHECK_TRANSFORMATION
const HEADER_TO_CHECK_TRANSFORMATION = 'BX-Viewer-check-transformation' |
◆ HEADER_TO_GET_SOURCE
const HEADER_TO_GET_SOURCE = 'BX-Viewer-src' |
◆ HEADER_TO_RESIZE_IMAGE
const HEADER_TO_RESIZE_IMAGE = 'BX-Viewer-image' |
◆ HEADER_TO_RUN_FORCE_TRANSFORMATION
const HEADER_TO_RUN_FORCE_TRANSFORMATION = 'BX-Viewer-force-transformation' |
◆ HEADER_TO_SEND_PREVIEW
const HEADER_TO_SEND_PREVIEW = 'BX-Viewer' |