Esempio n. 1
0
     }
     $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) {
         if ($value['LA_PU_UID'] == $oData->PU_UID) {
             unset($_SESSION['_DBArray']['data'][$key]);
             break;
         }
     }
     G::auditLog('RemoveUser','Remove supervisor ('.$userSupervisor.') in process "'.$resultProcess['PRO_TITLE'].'"');
     break;
 case 'supervisorDynaforms':
     $oProcessMap->supervisorDynaforms($oData->pro_uid);
     break;
 case 'supervisorInputs':
     $oProcessMap->supervisorInputs($oData->pro_uid);
     break;
 case 'webEntry':