source: waeup_product/trunk/University.py @ 71

Last change on this file since 71 was 68, checked in by joachim, 19 years ago

=search for jamb addmission

  • Property svn:keywords set to Id
File size: 876 bytes
Line 
1from Globals import InitializeClass
2from AccessControl import ClassSecurityInfo
3
4from Products.CMFCore.utils import getToolByName
5from Products.CMFCore.permissions import View
6from Products.CMFCore.permissions import ModifyPortalContent
7from Products.CPSCore.CPSBase import CPSBase_adder, CPSBaseFolder
8from Products.CPSCore.CPSBase import CPSBaseDocument as BaseDocument
9from Products.CPSCore.CPSBase import CPSBaseBTreeFolder as BaseBTreeFolder
10
11#
12# The WAeUP BaseContainer
13#
14
15class University(BaseBTreeFolder):
16    """
17    Container for the various WAeUP containers
18    """
19    meta_type = 'University'
20    portal_type = meta_type
21    security = ClassSecurityInfo()
22       
23InitializeClass(University)
24
25
26def addUniversity(container, id, REQUEST=None, **kw):
27    """Add a WAeUP"""
28    ob = University(id, **kw)
29    return CPSBase_adder(container, ob, REQUEST=REQUEST)
30
Note: See TracBrowser for help on using the repository browser.