77 $this->nodeName = $a_nodeName;
82 $this->treenodeId = $a_treenodeId;
92 $next_id = $this->db->nextId(
"sahs_sc13_seq_node");
93 $sql =
"INSERT INTO sahs_sc13_seq_node (seqnodeid, tree_node_id,nodename)".
95 $this->db->quote($next_id,
"integer").
",".
96 $this->db->quote($this->treenodeId,
"integer").
",".
97 $this->db->quote($this->nodeName,
"text").
");";
98 $result = $this->db->manipulate($sql);
104 $sql =
"UPDATE sahs_sc13_seq_node SET ".
105 "tree_node_id = ".$this->db->quote($this->treenodeId,
"integer").
",".
106 "nodename=".$this->db->quote($this->nodeName,
"text").
107 " WHERE seqnodeid=".$this->db->quote($a_seq_node_id,
"integer");
108 $result = $this->db->manipulate($sql);