Documentation

File converter

File conversion is a resource-consuming process with unpredictable runtime. That is why conversion process is performed on a separate server. File conversion module is separated into two parts - consumer (transformer) and server (transformercontroller). This section details consumer module part.

Before starting to use the module, check if it is installed and connect it via the following structure:

\Bitrix\Main\Loader::includeModule('transformer');

Main module task is to receive a conversion command and send it to the server. Command consist of several parameters - execution command, module and callback.

Class Description
Main classes
CommandClass for handling commands.
FileTransformer Class for simplifying the handling of file commands.
DocumentTransformer Descendant of class FileTransformer.
VideoTransformer Descendant of class FileTransformer.
Http Class for sending command to server.
File Class for searching external path to file by its ID.
FileUploader Class for uploading file portions into cloud or locally by "gluing" portions and saving them.




User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix24», 2001-2022
Up