function updateTest($aTestData, $aFields)
 {
     $oSwimlanesElements = new SwimlanesElements();
     try {
         return $oSwimlanesElements->update($aFields);
     } catch (Exception $oError) {
         return $oError;
     }
 }
Exemplo n.º 2
0
 public function saveAnnotationCordinates($sSwimLaneUID = '', $iX = 110, $iY = 60)
 {
     try {
         $oSL = new SwimlanesElements();
         $aFields = $oSL->load($sSwimLaneUID);
         $aFields['SWI_UID'] = $sSwimLaneUID;
         $aFields['SWI_WIDTH'] = $iX;
         $aFields['SWI_HEIGHT'] = $iY;
         return $oSL->update($aFields);
     } catch (Exception $oError) {
         throw $oError;
     }
 }