configuration – Portal Configuration Components Module

Components for portal configuration.

class waeup.kofa.configuration.ConfigurationContainer[source]

Bases: grokcore.content.components.Container

The node containing the session configuration models

__doc__ = '\n The node containing the session configuration models\n '
__implemented__ = <implementedBy waeup.kofa.configuration.ConfigurationContainer>
__module__ = 'waeup.kofa.configuration'
__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']
acronym

Abbreviated Title of University (computed attribute)

addSessionConfiguration(sessionconfiguration)[source]

Add a session configuration object.

captcha

Captcha used for public registration pages (computed attribute)

carry_over

Carry-over Course Registration (computed attribute)

current_academic_session

Current Academic Session (computed attribute)

email_admin

Email Address of Administrator (computed attribute)

email_subject

Subject of Email to Administrator (computed attribute)

export_disabled_message

Export-disabled message (computed attribute)

frontpage

Content in HTML format (computed attribute)

frontpage_dict

Content as language dictionary with values in html format (computed attribute)

maintmode_enabled_by

Maintenance Mode enabled by (computed attribute)

name

Name of University (computed attribute)

name_admin

Name of Administrator (computed attribute)

next_matric_integer

Next Matriculation Number Integer (computed attribute)

next_matric_integer_2

Next Matriculation Number Integer 2 (computed attribute)

next_matric_integer_3

Next Matriculation Number Integer 3 (computed attribute)

next_matric_integer_4

Next Matriculation Number Integer 4 (computed attribute)

smtp_mailer

SMTP mailer to use when sending mail (computed attribute)

class waeup.kofa.configuration.SessionConfiguration[source]

Bases: grokcore.content.components.Model

Session configuration model

__doc__ = '\n Session configuration model\n '
__implemented__ = <implementedBy waeup.kofa.configuration.SessionConfiguration>
__module__ = 'waeup.kofa.configuration'
__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']
academic_session

Academic Session (computed attribute)

booking_fee

Bed Booking Fee (computed attribute)

clearance_enabled

Clearance enabled (computed attribute)

clearance_fee

Acceptance Fee (computed attribute)

coursereg_deadline

Course Reg. Deadline (computed attribute)

getSessionString()[source]

Return the session string from the vocabulary.

late_registration_fee

Late Course Reg. Fee (computed attribute)

maint_fee

Rent (fallback) (computed attribute)

payment_disabled

Payment disabled (computed attribute)

transcript_fee

Transcript Fee (computed attribute)

transfer_fee

Transfer Fee (computed attribute)

class waeup.kofa.configuration.SessionConfigurationFactory[source]

Bases: grokcore.component.components.GlobalUtility

A factory for session configuration objects.

__call__(*args, **kw)[source]
__doc__ = 'A factory for session configuration objects.\n '
__implemented__ = <implementedBy waeup.kofa.configuration.SessionConfigurationFactory>
__module__ = 'waeup.kofa.configuration'
__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 session configurations.'
getInterfaces()[source]
title = (u'Create a new session configuration object.',)