本文整理匯總了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) {
示例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);