Esempio n. 1
0
     G::auditLog('Add'.ucwords($oDataAux['direction']).'Line','Add '.$oDataAux['direction'].' line ('.$sOutputAux['uid'].') in process "'.$resultProcess['PRO_TITLE'].'"');
     break;
 case 'saveGuidePosition':
     $sOutput = $oProcessMap->saveGuidePosition($oData->uid, $oData->position, $oData->direction);
     G::auditLog('SaveGuidePosition','Change '.$oData->direction.' line position  ('.$oData->uid.') in process "'.$resultProcess['PRO_TITLE'].'"');
     break;
 case 'deleteGuide':
     $sOutput = $oProcessMap->deleteGuide($oData->uid);
     G::auditLog('DeleteLine','Delete line ('.$oData->uid.') in process "'.$resultProcess['PRO_TITLE'].'"');
     break;
 case 'deleteGuides':
     $sOutput = $oProcessMap->deleteGuides($oData->pro_uid);
     G::auditLog('DeleteLines','Delete all lines in process "'.$resultProcess['PRO_TITLE'].'"');
     break;
 case 'addText':
     $sOutput = $oProcessMap->addText($oData->uid, $oData->label, $oData->position->x, $oData->position->y);
     $sOutputAux = G::json_decode($sOutput);
     $sOutputAux = (array)$sOutputAux;
     G::auditLog('AddText','Add new text ('.$sOutputAux['uid'].') in process "'.$resultProcess['PRO_TITLE'].'"');
     break;
 case 'updateText':
     $sOutput = $oProcessMap->updateText($oData->uid, $oData->label);
     G::auditLog('UpdateText','Edit text ('.$oData->uid.' ) in process "'.$resultProcess['PRO_TITLE'].'"');
     break;
 case 'saveTextPosition':
     $sOutput = $oProcessMap->saveTextPosition($oData->uid, $oData->position->x, $oData->position->y);
     G::auditLog('SaveTextPosition','Change text position ('.$oData->uid.' ) in process "'.$resultProcess['PRO_TITLE'].'"');
     break;
 case 'deleteText':
     $sOutput = $oProcessMap->deleteText($oData->uid);
     G::auditLog('DeleteText','Delete text ('.$oData->uid.' ) in process "'.$resultProcess['PRO_TITLE'].'"');
Esempio n. 2
0
     G::auditLog('Add' . ucwords($oDataAux['direction']) . 'Line', 'Add ' . $oDataAux['direction'] . ' line (' . $sOutputAux['uid'] . ') in process "' . $resultProcess['PRO_TITLE'] . '"');
     break;
 case 'saveGuidePosition':
     $sOutput = $oProcessMap->saveGuidePosition($oData->uid, $oData->position, $oData->direction);
     G::auditLog('SaveGuidePosition', 'Change ' . $oData->direction . ' line position  (' . $oData->uid . ') in process "' . $resultProcess['PRO_TITLE'] . '"');
     break;
 case 'deleteGuide':
     $sOutput = $oProcessMap->deleteGuide($oData->uid);
     G::auditLog('DeleteLine', 'Delete line (' . $oData->uid . ') in process "' . $resultProcess['PRO_TITLE'] . '"');
     break;
 case 'deleteGuides':
     $sOutput = $oProcessMap->deleteGuides($oData->pro_uid);
     G::auditLog('DeleteLines', 'Delete all lines in process "' . $resultProcess['PRO_TITLE'] . '"');
     break;
 case 'addText':
     $sOutput = $oProcessMap->addText($oData->uid, html_entity_decode(html_entity_decode($oData->label)), $oData->position->x, $oData->position->y);
     $sOutputAux = G::json_decode($sOutput);
     $sOutputAux = (array) $sOutputAux;
     G::auditLog('AddText', 'Add new text (' . $sOutputAux['uid'] . ') in process "' . $resultProcess['PRO_TITLE'] . '"');
     break;
 case 'updateText':
     $sOutput = $oProcessMap->updateText($oData->uid, $oData->label);
     G::auditLog('UpdateText', 'Edit text (' . $oData->uid . ' ) in process "' . $resultProcess['PRO_TITLE'] . '"');
     break;
 case 'saveTextPosition':
     $sOutput = $oProcessMap->saveTextPosition($oData->uid, $oData->position->x, $oData->position->y);
     G::auditLog('SaveTextPosition', 'Change text position (' . $oData->uid . ' ) in process "' . $resultProcess['PRO_TITLE'] . '"');
     break;
 case 'deleteText':
     $sOutput = $oProcessMap->deleteText($oData->uid);
     G::auditLog('DeleteText', 'Delete text (' . $oData->uid . ' ) in process "' . $resultProcess['PRO_TITLE'] . '"');