Subversion Repositories wimsdev

Rev

Rev 15218 | Rev 17228 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15218 Rev 15649
Line 11... Line 11...
11
</li></ol>
11
</li></ol>
12
 
12
 
13
<h4> Modules of wims</h4>
13
<h4> Modules of wims</h4>
14
<p>
14
<p>
15
A wims server is a modular system, with different applications as modules.
15
A wims server is a modular system, with different applications as modules.
16
At each new call to wims, the user has to specify which module he want to
16
At each new call to wims, the user has to specify which module he wants to
17
access.
17
access.
18
</p><p>
18
</p><p>
19
A wims module may be an interactive course or interactive exercise (of any
19
A wims module may be an interactive course or interactive exercise (of any
20
level), a computational tool, a dictionary, a mathematical game, a database,
20
level), a computational tool, a dictionary, a mathematical game, a database,
21
or a mixture of the above.
21
or a mixture of the above.
Line 55... Line 55...
55
$table_tr<td>cmd=help</td><td>get contextual help</td></tr>
55
$table_tr<td>cmd=help</td><td>get contextual help</td></tr>
56
$table_tr<td>cmd=hint</td><td>get contextual hint</td></tr>
56
$table_tr<td>cmd=hint</td><td>get contextual hint</td></tr>
57
$table_tr<td>cmd=resume</td><td>resume work (e.g. after help)</td></tr>
57
$table_tr<td>cmd=resume</td><td>resume work (e.g. after help)</td></tr>
58
$table_tr<td>cmd=getins</td><td>get dynamic insertions: internal use<br/>
58
$table_tr<td>cmd=getins</td><td>get dynamic insertions: internal use<br/>
59
by the server. Not to be used by modules.</td></tr>
59
by the server. Not to be used by modules.</td></tr>
60
</table>
60
$table_end
61
</li><li><span class="wims_emph">module</span>. the value is the name of the module
61
</li><li><span class="wims_emph">module</span>. the value is the name of the module
62
which the user wants to access. <br/>
62
which the user wants to access. <br/>
63
</li><li><span class="wims_emph">session</span>: the value is the number of the current
63
</li><li><span class="wims_emph">session</span>: the value is the number of the current
64
session of the user. <br/>
64
session of the user. <br/>
65
The session number is automatically generated by wims.cgi, and is usually
65
The session number is automatically generated by wims.cgi, and is usually
Line 69... Line 69...
69
</li><li><span class="wims_emph">lang</span>: the value defines the prefered language
69
</li><li><span class="wims_emph">lang</span>: the value defines the prefered language
70
of the user.
70
of the user.
71
</li><li><span class="wims_emph">user</span>: the value is the user name (for
71
</li><li><span class="wims_emph">user</span>: the value is the user name (for
72
registered users; reserved for internal use).
72
registered users; reserved for internal use).
73
</li><li><span class="wims_emph">useropts</span>: the value contains user options for the
73
</li><li><span class="wims_emph">useropts</span>: the value contains user options for the
74
server. The format is coded and may varie from version to version.
74
server. The format is coded and may vary from version to version.
75
</li><li><span class="wims_emph">worksheet</span>: reserved for internal use, for
75
</li><li><span class="wims_emph">worksheet</span>: reserved for internal use, for
76
determining user works assigned by worksheets.
76
determining user works assigned by worksheets.
77
</li><li><span class="wims_emph">special_parm</span>: this parameter is reserved for
77
</li><li><span class="wims_emph">special_parm</span>: this parameter is reserved for
78
special requests (help, etc).
78
special requests (help, etc).
79
</li><li>Any variables accepted by the module on which the user is working on (or
79
</li><li>Any variables accepted by the module the user is working on (or
80
wants to work on).
80
wants to work on).
81
</li></ul>
81
</li></ul>
82
 
82
 
83
Example:
83
Example:
84
<pre>
84
<pre>