- Timestamp:
- 21 Sep 2012, 08:19:35 (12 years ago)
- Location:
- main/waeup.kofa/branches/uli-zc-async
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-zc-async
- Property svn:mergeinfo changed
/main/waeup.kofa/branches/uli-async-update removed /main/waeup.kofa/branches/uli-autoinclude-less removed /main/waeup.kofa/trunk removed
- Property svn:mergeinfo changed
-
main/waeup.kofa/branches/uli-zc-async/src/waeup/kofa/university/certificate.txt
r9209 r9211 96 96 .. XXX: This is not a proper description 97 97 98 .. method:: addC ertCourse(course[, level=100,[ mandatory=True]])99 100 Add a certificatecourse. A course is an object implementing98 .. method:: addCourseRef(course[, level=100,[ mandatory=True]]) 99 100 Add a referrer of a course. A course is an object implementing 101 101 :class:`waeup.kofa.interfaces.ICourse`. 102 102 103 Please don't be confused by the term ' certificate course'.104 As course objectswill normaly be stored105 in a department, the c ertificate course refers to103 Please don't be confused by the term 'referrer'. As course objects 104 will normaly be stored 105 in a department, the course referrer refers to 106 106 the 'real' course in the department container. 107 107 108 .. method:: delC ertCourse(code)109 110 Remove a c ertificate coursefrom a certificate.111 112 The certificate coursemust be given by its code number.108 .. method:: delCourseRef(code) 109 110 Remove a course referrer from a certificate. 111 112 The referrer must be given by its code number. 113 113 114 114 :class:`CertificateCourse` … … 117 117 .. class:: CertificateCourse(course[, level=100[, mandatory=True]]) 118 118 119 Create a c ertificate course.120 121 A certificate course are held in119 Create a course referrer. 120 121 A certificate course (old term) or course referrer are held in 122 122 certificates and refer to an existing :class:`Course` instance held 123 123 elsewhere. 124 124 125 A certificate can require several c ertificate courses and one126 c ertificate coursecan be required by several certificates.125 A certificate can require several course referrers and one 126 course referrer can be required by several certificates. 127 127 128 128 .. attribute:: course … … 225 225 226 226 To accomplish that, the parents of the removed course are looked up 227 for a certifcate container which contains a c ertificate coursethat227 for a certifcate container which contains a course referrer that 228 228 refers to the deleted course. 229 229 … … 341 341 >>> mycert.code = 'MYCERT' 342 342 >>> mydept.certificates.addCertificate(mycert) 343 >>> mycert.addC ertCourse(mycourse)343 >>> mycert.addCourseRef(mycourse) 344 344 345 345 >>> transaction.commit() … … 354 354 ['mydept'] 355 355 356 The c ertificate coursewe stored in the certificate is indeed a356 The course referrer we stored in the certificate is indeed a 357 357 referrer of the course, not a copy of it: 358 358
Note: See TracChangeset for help on using the changeset viewer.