Bitrix API

DocumentHandlersManager

Table of Contents

Constants

ERROR_UNKNOWN_HANDLER  = 'DISK_DOC_HANDM_22001'

Methods

__construct()  : mixed
additionalPreviewManagersList()  : mixed
getDefaultHandlerForView()  : DocumentHandler|null
Returns default document handler for view files.
getDefaultServiceForCurrentUser()  : null|DocumentHandler
Get default cloud document service for current user.
getErrorByCode()  : mixed
getErrors()  : array<string|int, Error>
getErrorsByCode()  : mixed
getHandlerByCode()  : DocumentHandler|null
Gets document handler by code.
getHandlers()  : array<string|int, DocumentHandler>
Returns all list of document handlers.
getHandlersForImport()  : array<string|int, DocumentHandler>|array<string|int, CloudImportInterface>
Returns all list of document handlers which can import files and folders.
getHandlersForView()  : array<string|int, DocumentHandler>
Returns all list of document handlers which can view files.
isReady()  : mixed

Constants

Methods

additionalPreviewManagersList()

public static additionalPreviewManagersList(Event $event) : mixed
Parameters
$event : Event

getDefaultServiceForCurrentUser()

Get default cloud document service for current user.

public getDefaultServiceForCurrentUser() : null|DocumentHandler

In this method we don't know about local controller.

Tags
throws
SystemException
Return values
null|DocumentHandler

getErrorByCode()

public getErrorByCode(mixed $code) : mixed
Parameters
$code : mixed
Tags
inheritdoc

getErrorsByCode()

public getErrorsByCode(mixed $code) : mixed
Parameters
$code : mixed
Tags
inheritdoc

        
On this page

Search results