ILIAS
Release_4_1_x_branch Revision 61804
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
seqtemplates.sql.php
Go to the documentation of this file.
1
<?php
2
3
$ilDB
->query(
"CREATE TABLE sahs_sc13_seq_condition(`condition` varchar(50), `seqNodeId` int(11), `measureThreshold` varchar(50), `operator` varchar(50), `referencedObjective` varchar(50) );"
);
4
$ilDB
->query(
"ALTER TABLE sahs_sc13_seq_condition ADD PRIMARY KEY(seqNodeId);"
);
5
6
$ilDB
->query(
"CREATE TABLE sahs_sc13_seq_course(`flow` tinyint DEFAULT 0, `choice` tinyint DEFAULT 1, `forwardonly` tinyint DEFAULT 0,obj_id int(11));"
);
7
$ilDB
->query(
"ALTER TABLE sahs_sc13_seq_course ADD PRIMARY KEY(obj_id);"
);
8
9
$ilDB
->query(
"CREATE TABLE sahs_sc13_seq_mapinfo(`seqNodeId` int(11), `readNormalizedMeasure` tinyint, `readSatisfiedStatus` tinyint, `targetObjectiveID` varchar(50), `writeNormalizedMeasure` tinyint, `writeSatisfiedStatus` tinyint );"
);
10
$ilDB
->query(
"ALTER TABLE sahs_sc13_seq_mapinfo ADD PRIMARY KEY(seqNodeId);"
);
11
$ilDB
->query(
"CREATE INDEX targetObjectiveId ON sahs_sc13_seq_mapinfo(targetObjectiveID)"
);
12
13
$ilDB
->query(
"CREATE TABLE sahs_sc13_seq_node(`seqNodeId` int(11) PRIMARY KEY AUTO_INCREMENT, `nodeName` varchar(50), `tree_node_id` int(11) );"
);
14
$ilDB
->query(
"CREATE INDEX seq_id ON sahs_sc13_seq_node(seqNodeId);"
);
15
$ilDB
->query(
"CREATE INDEX tree_node_id ON sahs_sc13_seq_node(tree_node_id);"
);
16
$ilDB
->query(
"CREATE INDEX nodeName ON sahs_sc13_seq_node(nodeName);"
);
17
18
$ilDB
->query(
"CREATE TABLE sahs_sc13_seq_seqtemplate(`seqNodeId` int(11), `id` varchar(50));"
);
19
$ilDB
->query(
"CREATE INDEX sahs_sc13_seq_template_node_id ON sahs_sc13_seq_seqtemplate(seqNodeId,id);"
);
20
21
$ilDB
->query(
"CREATE TABLE sahs_sc13_seq_objective(`seqNodeId` int(11), `minNormalizedMeasure` varchar(50), `objectiveID` varchar(200), `primary` tinyint, `satisfiedByMeasure` tinyint );"
);
22
$ilDB
->query(
"ALTER TABLE sahs_sc13_seq_objective ADD PRIMARY KEY(seqNodeId);"
);
23
24
$ilDB
->query(
"CREATE TABLE sahs_sc13_seq_item(`importId` varchar(32), `seqNodeId` int(11), `sahs_sc13_tree_node_id` int, `sequencingId` varchar(50),`nocopy` tinyint,`nodelete` tinyint,`nomove` tinyint);"
);
25
$ilDB
->query(
"ALTER TABLE sahs_sc13_seq_item ADD PRIMARY KEY(seqNodeId);"
);
26
$ilDB
->query(
"CREATE INDEX sahs_sc13_tree_nodeid ON sahs_sc13_seq_item(sahs_sc13_tree_node_id);"
);
27
28
$ilDB
->query(
"CREATE TABLE sahs_sc13_seq_assignment(`identifier` varchar(50), `sahs_sc13_tree_node_id` int);"
);
29
$ilDB
->query(
"ALTER TABLE sahs_sc13_seq_assignment ADD PRIMARY KEY(sahs_sc13_tree_node_id);"
);
30
31
$ilDB
->query(
"CREATE TABLE sahs_sc13_seq_templates(`identifier` varchar(50),`fileName` varchar(50),`id` int PRIMARY KEY AUTO_INCREMENT);"
);
32
$ilDB
->query(
"INSERT INTO sahs_sc13_seq_templates (identifier,filename) values ('pretestpost','pretest_posttest.xml');"
);
33
$ilDB
->query(
"INSERT INTO sahs_sc13_seq_templates (identifier,filename) values ('linearpath','linear_path.xml');"
);
34
$ilDB
->query(
"INSERT INTO sahs_sc13_seq_templates (identifier,filename) values ('linearpathforward','linear_path_forward.xml');"
);
35
36
37
$ilDB
->query(
"CREATE TABLE sahs_sc13_seq_rule(`action` varchar(50), `childActivitySet` varchar(50), `conditionCombination` varchar(50), `seqNodeId` int(11), `minimumCount` int(11), `minimumPercent` varchar(50), `type` varchar(50) );"
);
38
$ilDB
->query(
"ALTER TABLE sahs_sc13_seq_rule ADD PRIMARY KEY(seqNodeId);"
);
39
40
$ilDB
->query(
"CREATE TABLE sahs_sc13_seq_sequencing(`importId` varchar(32), `activityAbsoluteDurationLimit` varchar(20), `activityExperiencedDurationLimit` varchar(20), `attemptAbsoluteDurationLimit` varchar(20), `attemptExperiencedDurationLimit` varchar(20), `attemptLimit` int(11), `beginTimeLimit` varchar(20), `choice` tinyint, `choiceExit` tinyint, `completionSetByContent` tinyint, `constrainChoice` tinyint, `seqNodeId` int(11), `endTimeLimit` varchar(20), `flow` tinyint, `forwardOnly` tinyint, `id` varchar(200), `measureSatisfactionIfActive` tinyint, `objectiveMeasureWeight` REAL, `objectiveSetByContent` tinyint, `preventActivation` tinyint, `randomizationTiming` varchar(50), `reorderChildren` tinyint, `requiredForCompleted` varchar(50), `requiredForIncomplete` varchar(50), `requiredForNotSatisfied` varchar(50), `requiredForSatisfied` varchar(50), `rollupObjectiveSatisfied` tinyint, `rollupProgressCompletion` tinyint, `selectCount` int(11), `selectionTiming` varchar(50), `sequencingId` varchar(50), `tracked` tinyint, `useCurrentAttemptObjectiveInfo` tinyint, `useCurrentAttemptProgressInfo` tinyint);"
);
41
$ilDB
->query(
"ALTER TABLE sahs_sc13_seq_sequencing ADD PRIMARY KEY(seqNodeId);"
);
42
$ilDB
->query(
"CREATE INDEX seq_sequencingid ON sahs_sc13_seq_sequencing(id);"
);
43
44
$ilDB
->query(
"CREATE TABLE sahs_sc13_seq_tree(`child` int(11), `depth` smallint(5), `lft` int(11), `importid` varchar(32), `parent` int(11), `rgt` int(11) );"
);
45
$ilDB
->query(
"CREATE INDEX child ON sahs_sc13_seq_tree(child);"
);
46
$ilDB
->query(
"CREATE INDEX seq_importid_id ON sahs_sc13_seq_tree(importid);"
);
47
$ilDB
->query(
"CREATE INDEX parent ON sahs_sc13_seq_tree(parent);"
);
48
49
?>
Modules
Scorm2004
data
seq_editor
seqtemplates.sql.php
Generated on Thu Apr 21 2016 19:02:33 for ILIAS by
1.8.1.2 (using
Doxyfile
)