本文整理汇总了PHP中processMap::saveTaskPosition方法的典型用法代码示例。如果您正苦于以下问题:PHP processMap::saveTaskPosition方法的具体用法?PHP processMap::saveTaskPosition怎么用?PHP processMap::saveTaskPosition使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类processMap
的用法示例。
在下文中一共展示了processMap::saveTaskPosition方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: isset
$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);
break;
case 'editTaskProperties':
$oProcessMap->editTaskProperties($oData->uid, isset($oData->iForm) ? $oData->iForm : 1, $oData->index);
break;
case 'saveTaskPosition':
$sOutput = $oProcessMap->saveTaskPosition($oData->uid, $oData->position->x, $oData->position->y);
break;
case 'deleteTask':
$sOutput = $oProcessMap->deleteTask($oData->tas_uid);
break;
case 'addGuide':
$sOutput = $oProcessMap->addGuide($oData->uid, $oData->position, $oData->direction);
break;
case 'saveGuidePosition':
$sOutput = $oProcessMap->saveGuidePosition($oData->uid, $oData->position, $oData->direction);
break;
case 'deleteGuide':
$sOutput = $oProcessMap->deleteGuide($oData->uid);
break;
case 'deleteGuides':
$sOutput = $oProcessMap->deleteGuides($oData->pro_uid);
示例2: saveTaskPositionTest
function saveTaskPositionTest($aTestData, $aFields)
{
$oProcessMap = new processMap();
try {
return $oProcessMap->saveTaskPosition($aFields['TAS_UID'], $aFields['TAS_X'], $aFields['TAS_Y']);
} catch (Exception $oError) {
return $oError;
}
}