當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。