Subversion Repositories wimsdev

Rev

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

Rev 32 Rev 1091
Line 1... Line 1...
1
 
1
 
2
Each wims module has a private home directory in which go all the files
2
Each wims module has a private home directory in which go all the files
3
of this module. <p>
3
of this module. <p>
4
 
4
 
5
A module must have at least the following files:
5
A module must have at least the following files:
6
<UL>
6
<ul>
7
$tit A variable definition file $emph var.def$emphend. $titend
7
$tit A variable definition file $emph var.def$emphend. $titend
8
 This file defines $emph external$emphend variables of the module. A parameter given by the
8
 This file defines $emph external$emphend variables of the module. A parameter given by the
9
 user must have a name declared in this file, except parameter names reserved by
9
 user must have a name declared in this file, except parameter names reserved by
10
 wims (cmd, session, module, ...). And exactly variables declared in this
10
 wims (cmd, session, module, ...). And exactly variables declared in this
11
 file will be saved in the session directory (to be recalled at the next
11
 file will be saved in the session directory (to be recalled at the next
Line 16... Line 16...
16
$tit A main phtml file $emph main.phtml$emphend.$titend
16
$tit A main phtml file $emph main.phtml$emphend.$titend
17
 This file will be processed at avery request to the module, except under
17
 This file will be processed at avery request to the module, except under
18
 special commands (when cmd=intro or getins)
18
 special commands (when cmd=intro or getins)
19
$tit An indexing file $emph INDEX$emphend, which defines the application's nature.$titend
19
$tit An indexing file $emph INDEX$emphend, which defines the application's nature.$titend
20
 This file will be used by wims database for searching available modules.
20
 This file will be used by wims database for searching available modules.
21
</UL>
21
</ul>
22
 
22
 
23
<p>
23
<p>
24
And it may often contain the following (optional) files too:
24
And it may often contain the following (optional) files too:
25
<ul>
25
<ul>
26
$tit A variable initialisation file $emph var.init$emphend.$titend
26
$tit A variable initialisation file $emph var.init$emphend.$titend