Пример #1
0
     }
     break;
 case 'log_case_scheduler':
     if (isset($_REQUEST['PRO_UID'])) {
         $oProcessMap->logCaseSchedulerList($_REQUEST['PRO_UID']);
     }
     break;
 case 'messages':
     $oProcessMap->messagesList($oData->pro_uid);
     break;
 case 'reportTables':
     $oProcessMap->reportTablesList($oData->pro_uid);
     break;
 case 'derivations':
     if (!isset($oData->type)) {
         $oProcessMap->currentPattern($oData->pro_uid, $oData->tas_uid);
     } else {
         switch ($oData->type) {
             case 0:
                 $oData->type = 'SEQUENTIAL';
                 break;
             case 1:
                 $oData->type = 'SELECT';
                 break;
             case 2:
                 $oData->type = 'EVALUATE';
                 break;
             case 3:
                 $oData->type = 'PARALLEL';
                 break;
             case 4:
 function currentPatternTest($aTestData, $aFields)
 {
     $oProcessMap = new processMap();
     try {
         return $oProcessMap->currentPattern($aFields['PRO_UID'], $aFields['TAS_UID']);
     } catch (Exception $oError) {
         return $oError;
     }
 }