university.course - Course Components¶
Courses.
-
class
waeup.kofa.university.course.
Course
(title=u'Unnamed Course', code=u'NA', credits=0, passmark=40, semester=1, former_course=False, **kw)[source]¶ Bases:
grokcore.content.components.Model
A university course.
-
__doc__
= 'A university course.\n '¶
-
__implemented__
= <implementedBy waeup.kofa.university.course.Course>¶
-
__init__
(title=u'Unnamed Course', code=u'NA', credits=0, passmark=40, semester=1, former_course=False, **kw)[source]¶
-
__module__
= 'waeup.kofa.university.course'¶
-
__provides__
¶ Special descriptor for class __provides__
The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.
For example:
>>> from zope.interface import Interface >>> class IFooFactory(Interface): ... pass >>> class IFoo(Interface): ... pass >>> class C(object): ... implements(IFoo) ... classProvides(IFooFactory) >>> [i.getName() for i in C.__provides__] ['IFooFactory']
>>> [i.getName() for i in C().__provides__] ['IFoo']
-
local_roles
= ['waeup.local.Lecturer']¶
-
longtitle
¶
-
-
class
waeup.kofa.university.course.
CourseFactory
[source]¶ Bases:
grokcore.component.components.GlobalUtility
A factory for courses.
-
__doc__
= 'A factory for courses.\n '¶
-
__implemented__
= <implementedBy waeup.kofa.university.course.CourseFactory>¶
-
__module__
= 'waeup.kofa.university.course'¶
-
__provides__
¶ Special descriptor for class __provides__
The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.
For example:
>>> from zope.interface import Interface >>> class IFooFactory(Interface): ... pass >>> class IFoo(Interface): ... pass >>> class C(object): ... implements(IFoo) ... classProvides(IFooFactory) >>> [i.getName() for i in C.__provides__] ['IFooFactory']
>>> [i.getName() for i in C().__provides__] ['IFoo']
-
description
= u'This factory instantiates new course instances.'¶
-
title
= (u'Create a new course.',)¶
-
-
class
waeup.kofa.university.course.
CoursesPlugin
[source]¶ Bases:
grokcore.component.components.GlobalUtility
A plugin that updates courses.
-
__doc__
= 'A plugin that updates courses.\n '¶
-
__implemented__
= <implementedBy waeup.kofa.university.course.CoursesPlugin>¶
-
__module__
= 'waeup.kofa.university.course'¶
-
__provides__
¶ Special descriptor for class __provides__
The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.
For example:
>>> from zope.interface import Interface >>> class IFooFactory(Interface): ... pass >>> class IFoo(Interface): ... pass >>> class C(object): ... implements(IFoo) ... classProvides(IFooFactory) >>> [i.getName() for i in C.__provides__] ['IFooFactory']
>>> [i.getName() for i in C().__provides__] ['IFoo']
-
deprecated_attributes
= []¶
-
-
class
waeup.kofa.university.course.
VirtualCourseExportJobContainer
[source]¶ Bases:
waeup.kofa.utils.batching.VirtualExportJobContainer
A virtual export job container for courses.
-
__doc__
= 'A virtual export job container for courses.\n '¶
-
__module__
= 'waeup.kofa.university.course'¶
-