Última Alteração
nesse arquivo desde 1523 foi
1284,
incluída por joaoantonio, 14 anos atrás
|
---|
config_install.py alterado, criados alguns scripts *_salvar e *_salvar.metadata em skins/ILSAALMaterial_public
|
File size:
559 bytes
|
Linha | |
---|
1 | from StringIO import StringIO |
---|
2 | from Products.ILSAALMaterial.config_install import VOCABULARIOS, ACOES, CONTAINERS |
---|
3 | from Products.ILSAAL.utils import setVocabulariosDinamicos, setFormController, addSAALContainers |
---|
4 | |
---|
5 | def install(self): |
---|
6 | """ |
---|
7 | Instala o modulo SAAL Material. |
---|
8 | """ |
---|
9 | |
---|
10 | out = StringIO() |
---|
11 | |
---|
12 | setVocabulariosDinamicos(self, out, VOCABULARIOS) |
---|
13 | setFormController(self, out, ACOES) |
---|
14 | addSAALContainers(self, out, CONTAINERS) |
---|
15 | |
---|
16 | return out.getvalue() |
---|
17 | |
---|
18 | def uninstall(self): |
---|
19 | """ |
---|
20 | Desinstala o modulo SAAL Material. |
---|
21 | """ |
---|
22 | |
---|
23 | pass |
---|
24 | |
---|
Note: Veja
TracBrowser
para ajuda no uso do navegador do trac.