Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:start:developers [2016/07/07 16:05] admin [Добавление функций в пользовательские выражения] |
en:start:developers [2016/07/07 16:35] admin [Добавление опций для работы с Файлами, созданными Бизнес-Процессом] |
||
---|---|---|---|
Line 46: | Line 46: | ||
} | } | ||
</Code> | </Code> | ||
- | ==== У вас есть модуль, который создает файлы, которые вы хотите интегрировать в Бизнес-Процесс? ==== | + | ==== You have a module, which create files you want to integrate into Workflows? ==== |
+ | **PDFMaker and SQLReports are implemented in this way!** | ||
<WRAP center right info 30%> | <WRAP center right info 30%> | ||
- | Доступно только в версии VtigerCRM 6.x | + | Only VtigerCRM 6.x |
</WRAP> | </WRAP> | ||
- | PDFMaker и SQL-отчеты реализуются следующим образом: | + | If you create a similar module you could create a interfacefile to attach this files to Mails, Store as Documents or simple use the file in every task, which could handle files in any way. |
- | Если вы создадите похожий модуль, то сможете создать другой interfacefile, который сможет прикреплять файлы к электронным письмам, хранить их как документы или просто использовать в любой Задаче, которая может так или иначе обрабатывать файлы. | + | Create a files in **modules/Workflow2/extends/interfaceFiles/** with the filename **<individual>.inc.php**. |
- | Файлы создаются в папке **modules/Workflow2/extends/interfaceFiles/** с названиями **<individual>.inc.php**. | + | This file must include a Class, which extends from \Workflow\InterfaceFiles. \\ |
- | + | You must implement the following structure to be recognized by Workflow Designer: | |
- | Этот файл должен включать в себя класс (Class), который находится по такому пути \Workflow\InterfaceFiles. \\ | + | |
- | Для того, чтобы Дизайнер Бизнес-Процессов распознал ваш файл, он должен иметь такую структуру: | + | |
<Code> | <Code> | ||
Line 136: | Line 135: | ||
</Code> | </Code> | ||
- | ==== Добавление опций для работы с Файлами, созданными Бизнес-Процессом ==== | + | ==== Add new Options what to do with Files generated by Workflows ==== |
- | После версий 600.0801 эта Задача будет интегрирована в каждую версию vTiger. \\ | + | With 600.0801 in added this interface. It will be integrated in every tasks in the next versions. |
- | В данный момент функция присутствует только в блоке "Интеграция PDFMaker". | + | At this moment it is only integrated into the new PDFMaker Integration block. |
- | Добавьте файл с название **<individual>.inc.php** в папку **/modules/Workflow2/extends/fileactions/**. | + | Add a file in **/modules/Workflow2/extends/fileactions/** with the filename “**<individual>.inc.php**” |
- | Этот файл должен содержать класс (class), который извлекается из **\Workflow\FileAction**. | + | This file must contain a class which extends from **\Workflow\FileAction**. |
- | Этот класс должен содержать следующую структуру: | + | This class must have the following structure: |
<Code> | <Code> |