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