Exemplo n.º 1
0
 public function insert($a_insert_node = false)
 {
     if ($a_insert_node == true) {
         $this->setSeqNodeId(parent::insert());
     }
     $sql = "INSERT INTO sahs_sc13_seq_rule (seqnodeid,type,action)" . " values(" . $this->db->quote($this->seqNodeId, "integer") . "," . $this->db->quote($this->type, "text") . "," . $this->db->quote($this->action, "text") . ");";
     $result = $this->db->manipulate($sql);
     return true;
 }
 public function insert($a_insert_node = false)
 {
     if ($a_insert_node == true) {
         $this->setSeqNodeId(parent::insert());
     }
     $sql = "INSERT INTO sahs_sc13_seq_cond (seqnodeid,referencedobjective,cond,measurethreshold,operator)" . " values(" . $this->db->quote($this->seqNodeId, "integer") . "," . $this->db->quote($this->referencedObjective, "text") . "," . $this->db->quote($this->condition, "text") . "," . $this->db->quote($this->measureThreshold, "text") . "," . $this->db->quote($this->operator, "text") . ");";
     $result = $this->db->manipulate($sql);
     return true;
 }
Exemplo n.º 3
0
 public function insert($a_insert_node = false)
 {
     if ($a_insert_node == true) {
         $this->setSeqNodeId(parent::insert());
     }
     $sql = "INSERT INTO sahs_sc13_seq_mapinfo (seqnodeid,targetobjectiveid,readsatisfiedstatus,readnormalizedmeasure,writesatisfiedstatus,writemormalizedmeasure)" . " values(" . $this->db->quote($this->seqNodeId, "integer") . "," . $this->db->quote($this->targetObjectiveID, "text") . "," . $this->db->quote($this->readSatisfiedStatus, "integer") . "," . $this->db->quote($this->readNormalizedMeasure, "integer") . "," . $this->db->quote($this->writeSatisfiedStatus, "integer") . "," . $this->db->quote($this->writeNormalizedMeasure, "integer") . ");";
     $result = $this->db->manipulate($sql);
     return true;
 }