saving Annotation with route from ondrop of ports

This commit is contained in:
girish
2011-02-23 14:51:44 +00:00
parent ecd5b4d103
commit 6f0c23ab11
4 changed files with 21 additions and 4 deletions

View File

@@ -1605,11 +1605,11 @@ class processMap {
* @return integer
*/
function updateText($sSEUID = '', $sLabel = '') {
function updateText($sSEUID = '', $sLabel = '' , $sNext_uid = '') {
try {
$oSL = new SwimlanesElements ( );
$aFields = $oSL->load($sSEUID);
return $oSL->update(array('SWI_UID' => $sSEUID, 'SWI_TEXT' => $sLabel));
return $oSL->update(array('SWI_UID' => $sSEUID, 'SWI_TEXT' => $sLabel,'SWI_NEXT_UID' => $sNext_uid));
} catch (Exception $oError) {
throw ($oError);
}