本文整理汇总了PHP中processMap::saveTextPosition方法的典型用法代码示例。如果您正苦于以下问题:PHP processMap::saveTextPosition方法的具体用法?PHP processMap::saveTextPosition怎么用?PHP processMap::saveTextPosition使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类processMap
的用法示例。
在下文中一共展示了processMap::saveTextPosition方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
$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);
break;
case 'deleteText':
$sOutput = $oProcessMap->deleteText($oData->uid);
break;
case 'dynaforms':
$oProcessMap->dynaformsList($oData->pro_uid);
break;
case 'inputs':
$oProcessMap->inputdocsList($oData->pro_uid);
break;
case 'outputs':
$oProcessMap->outputdocsList($oData->pro_uid);
break;
case 'triggers':
$oProcessMap->triggersList($oData->pro_uid);
示例2: saveTextPositionTest
function saveTextPositionTest($aTestData, $aFields)
{
$oProcessMap = new processMap();
try {
return $oProcessMap->saveTextPosition($aFields['SWI_UID'], $aFields['SWI_X'], $aFields['SWI_X']);
} catch (Exception $oError) {
return $oError;
}
}