本文整理匯總了PHP中processMap::saveGuidePosition方法的典型用法代碼示例。如果您正苦於以下問題:PHP processMap::saveGuidePosition方法的具體用法?PHP processMap::saveGuidePosition怎麽用?PHP processMap::saveGuidePosition使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類processMap
的用法示例。
在下文中一共展示了processMap::saveGuidePosition方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: isset
$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);
break;
case 'addText':
$sOutput = $oProcessMap->addText($oData->uid, $oData->label, $oData->position->x, $oData->position->y);
break;
case 'updateText':
$sOutput = $oProcessMap->updateText($oData->uid, $oData->label);
break;
case 'saveTextPosition':
$sOutput = $oProcessMap->saveTextPosition($oData->uid, $oData->position->x, $oData->position->y);
示例2: saveGuidePositionTest
function saveGuidePositionTest($aTestData, $aFields)
{
$oProcessMap = new processMap();
try {
return $oProcessMap->saveGuidePosition($aFields['SWI_UID'], $aFields['iPosition'], $aFields['sDirection']);
} catch (Exception $oError) {
return $oError;
}
}