break; case 'steps': switch ($oData->option) { case 1: $oProcessMap->steps($oData->proUid, $oData->tasUid); break; case 2: $oProcessMap->stepsConditions($oData->proUid, $oData->tasUid); break; case 3: $oProcessMap->stepsTriggers($oData->proUid, $oData->tasUid); break; } break; case 'users': $oProcessMap->users($oData->pro_uid, $oData->tas_uid); break; case 'users_adhoc': $oProcessMap->users_adhoc($oData->pro_uid, $oData->tas_uid); break; case 'addTask': $sOutput = $oProcessMap->addTask($oData->uid, $oData->position->x, $oData->position->y); break; case 'addSubProcess': $sOutput = $oProcessMap->addSubProcess($oData->uid, $oData->position->x, $oData->position->y); break; case 'taskColor': $oTask->taskColor($oData->pro_uid, $oData->tas_uid); break; case 'addTaskHidden': $sOutput = $oProcessMap->addTaskHidden($oData->uid, $oData->position->x, $oData->position->y);
function usersTest($aTestData, $aFields) { $oProcessMap = new processMap(); try { return $oProcessMap->users($aFields['PRO_UID'], $aFields['TAS_UID']); } catch (Exception $oError) { return $oError; } }