source: waeup_product/trunk/__init__.py @ 24

Last change on this file since 24 was 20, checked in by joachim, 19 years ago

second ci

  • Property svn:keywords set to Id
File size: 655 bytes
RevLine 
[19]1from Products.CMFCore.DirectoryView import registerDirectory
2from Products.CMFCore import utils as cmfutils
3from Products.CMFCore.CMFCorePermissions import AddPortalContent
4
5registerDirectory('skins', globals())
6
7import Student
[20]8import Widgets
[19]9
10fti = ()
11fti += Student.factory_type_information
12
13contentClasses = (Student.Student,)
14
15contentConstructors = ()
16contentConstructors += Student.addStudent,
17
18
19def initialize(registrar):
20    cmfutils.ContentInit(
21        'WAeUP Types',
22        content_types=contentClasses,
23        permission=AddPortalContent,
24        extra_constructors=contentConstructors,
25        fti=fti,
26       
27    ).initialize(registrar)
Note: See TracBrowser for help on using the repository browser.