当前位置: 首页>>代码示例>>PHP>>正文


PHP processMap::webEntry方法代码示例

本文整理汇总了PHP中processMap::webEntry方法的典型用法代码示例。如果您正苦于以下问题:PHP processMap::webEntry方法的具体用法?PHP processMap::webEntry怎么用?PHP processMap::webEntry使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在processMap的用法示例。


在下文中一共展示了processMap::webEntry方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: include

 case 'webEntry_generate':
     include (PATH_METHODS . 'processes/processes_webEntryGenerate.php');
     break;
 // add this event to validate de data to create a Web Entry
 case 'webEntry_validate':
     include (PATH_METHODS . 'processes/processes_webEntryValidate.php');
     break;
 case 'webEntry_delete':
     $form = $_REQUEST;
     if(file_exists(PATH_DATA . "sites" . PATH_SEP . SYS_SYS . PATH_SEP . "public" . PATH_SEP . $form['PRO_UID'] . PATH_SEP . $form['FILENAME'])) {
         unlink(PATH_DATA . "sites" . PATH_SEP . SYS_SYS . PATH_SEP . "public" . PATH_SEP . $form['PRO_UID'] . PATH_SEP . $form['FILENAME']);
     }
     if(file_exists(PATH_DATA . "sites" . PATH_SEP . SYS_SYS . PATH_SEP . "public" . PATH_SEP . $form['PRO_UID'] . PATH_SEP . str_replace(".php", "Post", $form['FILENAME']) . ".php")) {
         unlink(PATH_DATA . "sites" . PATH_SEP . SYS_SYS . PATH_SEP . "public" . PATH_SEP . $form['PRO_UID'] . PATH_SEP . str_replace(".php", "Post", $form['FILENAME']) . ".php");
     }
     $oProcessMap->webEntry($_REQUEST['PRO_UID']);
     G::auditLog('WebEntry','Delete web entry ('.$form['FILENAME'].') in process "'.$resultProcess['PRO_TITLE'].'"');
     break;
 case 'webEntry_new':
     $oProcessMap->webEntry_new($oData->PRO_UID);
     break;
 case 'assignProcessUser':
     $oProcessMap->assignProcessUser($oData->PRO_UID, $oData->USR_UID, $oData->TYPE_UID);
     G::LoadClass('processMap');
     $oProcessMap = new ProcessMap();
     $oProcessMap->listProcessesUser($oData->PRO_UID);
     G::auditLog('AssignRole','Assign new supervisor ('.$oData->USR_UID.') in process "'.$resultProcess['PRO_TITLE'].'"');
     break;
 case 'removeProcessUser':
     $oProcessMap->removeProcessUser($oData->PU_UID);
     foreach ($_SESSION['_DBArray']['data'] as $key => $value) {
开发者ID:hpx2206,项目名称:processmaker-1,代码行数:31,代码来源:processes_Ajax.php

示例2: unlink

 case 'availableProcessesUser':
     include PATH_METHODS . 'processes/processes_availableProcessesUser.php';
     break;
 case 'webEntry_generate':
     include PATH_METHODS . 'processes/processes_webEntryGenerate.php';
     break;
     // add this event to validate de data to create a Web Entry
 // add this event to validate de data to create a Web Entry
 case 'webEntry_validate':
     include PATH_METHODS . 'processes/processes_webEntryValidate.php';
     break;
 case 'webEntry_delete':
     $form = $_REQUEST;
     unlink(PATH_DATA . "sites" . PATH_SEP . SYS_SYS . PATH_SEP . "public" . PATH_SEP . $form['PRO_UID'] . PATH_SEP . $form['FILENAME']);
     unlink(PATH_DATA . "sites" . PATH_SEP . SYS_SYS . PATH_SEP . "public" . PATH_SEP . $form['PRO_UID'] . PATH_SEP . str_replace(".php", "Post", $form['FILENAME']) . ".php");
     $oProcessMap->webEntry($_REQUEST['PRO_UID']);
     break;
 case 'webEntry_new':
     $oProcessMap->webEntry_new($oData->PRO_UID);
     break;
 case 'assignProcessUser':
     $oProcessMap->assignProcessUser($oData->PRO_UID, $oData->USR_UID);
     break;
 case 'removeProcessUser':
     $oProcessMap->removeProcessUser($oData->PU_UID);
     break;
 case 'supervisorDynaforms':
     $oProcessMap->supervisorDynaforms($oData->pro_uid);
     break;
 case 'supervisorInputs':
     $oProcessMap->supervisorInputs($oData->pro_uid);
开发者ID:rodriquelca,项目名称:processmaker,代码行数:31,代码来源:processes_Ajax.php


注:本文中的processMap::webEntry方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。