25 private $operator = null;
33 parent::__construct();
70 return $this->operator;
79 $this->seqNodeId = $a_seqnodeid;
89 $this->referencedObjective = $a_objective;
94 $this->condition = $a_condition;
99 $this->measureThreshold = $a_measure;
104 $this->
operator = $a_operator;
111 public function insert($a_insert_node =
false)
113 if ($a_insert_node==
true) {
116 $sql =
"INSERT INTO sahs_sc13_seq_cond (seqnodeid,referencedobjective,cond,measurethreshold,operator)" .
118 $this->db->quote($this->seqNodeId,
"integer") .
"," .
119 $this->db->quote($this->referencedObjective,
"text") .
"," .
120 $this->db->quote($this->condition,
"text") .
"," .
121 $this->db->quote($this->measureThreshold,
"text") .
"," .
122 $this->db->quote($this->
operator,
"text") .
");";
123 $result = $this->db->manipulate($sql);
setReferencedObjective($a_objective)
Class ilSCORM2004Condition.
setMeasureThreshold($a_measure)
__construct()
Constructor public.
insert($a_insert_node=false)
setSeqNodeId($a_seqnodeid)
Class ilSCORM2004Condition.
setCondition($a_condition)