84 $this->seqNodeId = $a_seqnodeid;
94 $this->targetObjectiveID = $a_id;
99 $this->readSatisfiedStatus = $a_status;
104 $this->readNormalizedMeasure = $a_measure;
109 $this->writeSatisfiedStatus = $a_status ;
114 $this->writeNormalizedMeasure = $a_measure;
122 public function insert($a_insert_node =
false)
124 if ($a_insert_node==
true) {$this->
setSeqNodeId(parent::insert());}
125 $sql =
"INSERT INTO sahs_sc13_seq_mapinfo (seqnodeid,targetobjectiveid,readsatisfiedstatus,readnormalizedmeasure,writesatisfiedstatus,writemormalizedmeasure)".
127 $this->db->quote($this->seqNodeId,
"integer").
",".
128 $this->db->quote($this->targetObjectiveID,
"text").
",".
129 $this->db->quote($this->readSatisfiedStatus,
"integer").
",".
130 $this->db->quote($this->readNormalizedMeasure,
"integer").
",".
131 $this->db->quote($this->writeSatisfiedStatus,
"integer").
",".
132 $this->db->quote($this->writeNormalizedMeasure,
"integer").
");";
133 $result = $this->db->manipulate($sql);
141 $sql =
"SELECT * FROM sahs_sc13_seq_mapinfo WHERE seqnodeid=".
142 $ilDB->quote($a_seq_node_id,
"integer").
";";
146 $obj->setSeqNodeId(
$row[
"seqnodeid"]);
147 $obj->setTargetObjectiveID(
$row[
"targetobjectiveid"]);
148 $obj->setReadSatisfiedStatus(
$row[
"readsatisfiedstatus"]);
149 $obj->setReadNormalizedMeasure(
$row[
"readnormalizedmeasure"]);
150 $obj->setWriteSatisfiedStatus(
$row[
"writesatisfiedstatus"]);
151 $obj->setWriteNormalizedMeasure(
$row[
"writemormalizedmeasure"]);