Changeset 458 for WAeUP_SRP/trunk/Students.py
- Timestamp:
- 31 Aug 2006, 17:49:48 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Students.py
r457 r458 430 430 ###) 431 431 432 class StudyLevel(CPSDocument): ###( 433 """ 434 WAeUP StudyLevel containing the courses and students 435 """ 436 meta_type = 'StudyLevel' 437 portal_type = meta_type 438 security = ClassSecurityInfo() 439 440 security.declareProtected(View,"Title") 441 def Title(self): 442 """compose title""" 443 return "Level %s" % self.aq_parent.getId() 444 445 446 InitializeClass(StudyLevel) 447 448 def addStudyLevel(container, id, REQUEST=None, **kw): 449 """Add a StudyLevel.""" 450 ob = StudyLevel(id, **kw) 451 return CPSBase_adder(container, ob, REQUEST=REQUEST) 452 453 ###) 454 432 455 class StudentStudyLevel(CPSDocument): ###( 433 456 """
Note: See TracChangeset for help on using the changeset viewer.