Ejemplo n.º 1
0
 public function save($ceHim, $ringcount, $decimal, $brightness, $contrast, $color, $magnification, $sub = null, $comment = null, $group = 0, $wsRef = 0, $webgrRef = 0)
 {
     $annotationTable = new Annotations();
     if ($decimal == '') {
         $decimal = null;
     }
     $data = array(Annotations::COL_PART_ID => $this->getParticipantId(), Annotations::COL_CE_HAS_IMAGE_ID => $ceHim, Annotations::COL_COUNT => $ringcount, Annotations::COL_DECIMAL => $decimal, Annotations::COL_BRIGHTNESS => $brightness, Annotations::COL_CONTRAST => $contrast, Annotations::COL_COLOR => $color, Annotations::COL_MAGNIFICATION => $magnification, Annotations::COL_SUB => $sub, Annotations::COL_COMMENT => $comment, Annotations::COL_GROUP => $group, Annotations::COL_WS_REF => $wsRef, Annotations::COL_WEBGR_REF => $webgrRef);
     return $annotationTable->insert($data);
 }