university.coursescontainer - Courses Container Components¶
Course containers.
-
class
waeup.kofa.university.coursescontainer.
CoursesContainer
[source]¶ Bases:
grokcore.content.components.Container
See interfaces for description.
-
__doc__
= 'See interfaces for description.\n '¶
-
__implemented__
= <implementedBy waeup.kofa.university.coursescontainer.CoursesContainer>¶
-
__module__
= 'waeup.kofa.university.coursescontainer'¶
-
__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']
-
-
class
waeup.kofa.university.coursescontainer.
CoursesContainerFactory
[source]¶ Bases:
grokcore.component.components.GlobalUtility
A factory for course containers.
-
__doc__
= 'A factory for course containers.\n '¶
-
__implemented__
= <implementedBy waeup.kofa.university.coursescontainer.CoursesContainerFactory>¶
-
__module__
= 'waeup.kofa.university.coursescontainer'¶
-
__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 containers for courses.'¶
-
title
= (u'Create a new container for courses.',)¶
-