| <?php | |
| $params = array( | |
| 'query' => 'something', | |
| 'page' => 1, | |
| 'items' => 10 | |
| ); | |
| $url = 'http://someapi.com/search'; | |
| if (count($params) > 0) { | |
| $url .= '?' . implode('&', array_map(function($item) { | |
| return $item[0] . '=' . $item[1]; | |
| }, array_map(null, array_keys($params), $params))); | |
| } | |
| echo $url; // http://someapi.com/search?query=something&page=1&items=10 | |
| ?> |
************************************************************************** To Create a Plugin in the in Windows for Processmaker ************************************************************************** Now let us create the plugin using windows os for the processmaker. The main Steps to Plugins cannot be created on Windows servers, because Windows does not support symbolic links; however, there is an experimental script for Windows servers available at <INSTALL-DIRECTORY>/workflow/engine/gulliver-win.bat which can be tested. http://wiki.processmaker.com/3.0/Plugin_Development The steps given below as a step by step please follow this any query just post commands. Step :1 ============ C:\Bitnami\processmaker-3.1-1\apps\processmaker\htdocs\workflow\engine>gulliver-win.bat new-plugin deleteCases using DSN Connection The plugin deleteCases exists in this file C:\Bitnami\processmaker-3.1-1\apps\pr ocessmaker\htdocs\workflow\engine\plugins\deleteCases\class.delet...
Comments
Post a Comment