Class ilSCORM2004Condition.
More...
Class ilSCORM2004Condition.
Sequencing Template class for SCORM 2004 Editing
- Author
- Hendrik Holtmann holtm.nosp@m.ann@.nosp@m.me.co.nosp@m.m
- Version
- $Id$
Definition at line 35 of file class.ilSCORM2004SeqNode.php.
◆ __construct()
ilSCORM2004SeqNode::__construct |
( |
| ) |
|
◆ getNodeName()
ilSCORM2004SeqNode::getNodeName |
( |
| ) |
|
◆ getTreenodeId()
ilSCORM2004SeqNode::getTreenodeId |
( |
| ) |
|
◆ insert()
ilSCORM2004SeqNode::insert |
( |
| ) |
|
Definition at line 90 of file class.ilSCORM2004SeqNode.php.
References $result.
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);
◆ setNodeName()
ilSCORM2004SeqNode::setNodeName |
( |
|
$a_nodeName | ) |
|
◆ setTreenodeId()
ilSCORM2004SeqNode::setTreenodeId |
( |
|
$a_treenodeId | ) |
|
◆ update()
ilSCORM2004SeqNode::update |
( |
|
$a_seq_node_id | ) |
|
Definition at line 102 of file class.ilSCORM2004SeqNode.php.
References $result.
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);
◆ $db
ilSCORM2004SeqNode::$db = null |
|
protected |
◆ $nodeName
ilSCORM2004SeqNode::$nodeName = null |
|
private |
◆ $treenodeId
ilSCORM2004SeqNode::$treenodeId = null |
|
private |
The documentation for this class was generated from the following file: